class twisted.pair.tuntap.TunnelAddress(FancyStrMixin, FancyEqMixin): (source)
Implements interfaces: twisted.internet.interfaces.IAddress
A TunnelAddress represents the tunnel to which a TuntapPort is bound.
| Class Variable | compareAttributes | Undocumented | 
| Class Variable | showAttributes | Undocumented | 
| Method | __init__ | |
| Instance Variable | type | Undocumented | 
| Instance Variable | name | Undocumented | 
| Method | __getitem__ | Deprecated accessor for the tunnel name. Use attributes instead. | 
| Property | _typeValue | Return the integer value of the typeattribute.  Used to produce correct results in the equality implementation. | 
Inherited from FancyStrMixin:
| Method | __str__ | Undocumented | 
Inherited from FancyEqMixin:
| Method | __eq__ | Undocumented | 
| Method | __ne__ | Undocumented | 
Return the integer value of the type attribute.  Used to produce correct results in the equality implementation.
| Parameters | type | Either TunnelFlags.IFF_TUNorTunnelFlags.IFF_TAP, representing the type of this tunnel. | 
| name | The system name of the tunnel. (type: bytes) | 
Deprecated accessor for the tunnel name. Use attributes instead.