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

Implements interfaces: twisted.internet.interfaces.IAddress

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 2016-04-11 10:39:53.