class documentation

class TunnelAddress(FancyStrMixin, FancyEqMixin): (source)

Implements interfaces: twisted.internet.interfaces.IAddress

View In Hierarchy

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 type attribute. Used to produce correct results in the equality implementation.

Inherited from FancyStrMixin:

Method __str__ Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
compareAttributes = (source)

Undocumented

(type: tuple[str, ...])
@property
_typeValue = (source)

Return the integer value of the type attribute. Used to produce correct results in the equality implementation.

def __init__(self, type, name): (source)
ParameterstypeEither TunnelFlags.IFF_TUN or TunnelFlags.IFF_TAP, representing the type of this tunnel.
nameThe system name of the tunnel. (type: bytes)
type = (source)

Undocumented

name = (source)

Undocumented

def __getitem__(self, index): (source)

Deprecated accessor for the tunnel name. Use attributes instead.

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.