twisted.internet.abstract
module documentationtwisted.internet
View Source
Support for generic select()able objects.
Class | FileDescriptor | An object which can be operated on by select(). |
Function | isIPAddress | Determine whether the given string represents an IPv4 address. |
Function | isIPv6Address | Determine whether the given string represents an IPv6 address. |
Function | _concatenate 0 | Undocumented |
Function | _concatenate | Undocumented |
Class | _ConsumerMixin | IConsumer
implementations can mix this in to get registerProducer and
unregisterProducer methods which take care of keeping track of
a producer's state. |
Class | _LogOwner | Mixin to help implement interfaces.ILoggingContext
for transports which have a protocol, the log prefix of which should also
appear in the transport's log prefix. |
Determine whether the given string represents an IPv4 address.
Parameters | addr | A string which may or may not be the decimal dotted representation of an
IPv4 address. (type: str ) |
Returns | True if addr represents an IPv4 address,
False otherwise. (type: bool ) |
Determine whether the given string represents an IPv6 address.
Parameters | addr | A string which may or may not be the hex representation of an IPv6 address. (type: str ) |
Returns | True if addr represents an IPv6 address,
False otherwise. (type: bool ) |