twisted.internet.address._IPAddress(FancyEqMixin, object)
class documentationtwisted.internet.address
View Source
(View In Hierarchy)
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 |
str
)