t.i.a._IPAddress(FancyEqMixin, object) : class documentation

Part of twisted.internet.address View Source View In Hierarchy

Known subclasses: twisted.internet.address.IPv4Address, twisted.internet.address.IPv6Address

An _IPAddress represents the address of an IP socket endpoint, providing common behavior for IPv4 and IPv6.
Instance Variable type A string describing the type of transport, either 'TCP' or 'UDP'.
Instance Variable host A string containing the presentation format of the IP address; for example, "127.0.0.1" or "::1". (type: str)
Instance Variable port An integer representing the port number. (type: int)
Method __init__ Undocumented
Method __repr__ Undocumented
Method __hash__ Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
type =
A string describing the type of transport, either 'TCP' or 'UDP'.
host =
A string containing the presentation format of the IP address; for example, "127.0.0.1" or "::1". (type: str)
port =
An integer representing the port number. (type: int)
def __init__(self, type, host, port): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def __hash__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.