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