twisted.pair.tuntap.TunnelAddress(FancyStrMixin, FancyEqMixin, object)
class documentationtwisted.pair.tuntap
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IAddress
A TunnelAddress
represents the tunnel to which a TuntapPort
is
bound.
Method | __init__ | |
Method | __getitem__ | Deprecated accessor for the tunnel name. Use attributes instead. |
Method | _typeValue | Return the integer value of the type attribute. Used to
produce correct results in the equality implementation. |
Inherited from FancyEqMixin:
Method | __eq__ | Undocumented |
Method | __ne__ | 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_TUN
or TunnelFlags.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.