Go to the latest version of this document.
Part of twisted.internet.iocpreactor.tcp
View In Hierarchy
Inherited from _BaseBaseClient:
||The address family constant (
socket.AF_UNIX) of the
underlying socket of this client connection. (type:
||The socket type constant (
socket.SOCK_DGRAM) of the underlying socket. (type:
||The class pointed to by
_commonConnection should set this
attribute in its constructor. (type:
||Generic method called when the attemps to connect failed. It basically
cleans everything it can: call connectionFailed, stop read and write,
delete socket related members.
||If a connection attempt is still outstanding (i.e. no connection is yet
established), immediately stop attempting to connect.
||A flag indicating whether the address of this client will require name
True if the hostname of said address indicates a
name that must be resolved by hostname lookup,
False if it
indicates an IP address literal. (type:
||Subclasses must provide this attribute, which indicates the
class to invoke
connectionLost on. (type:
||Subclasses must implement in order to close the socket in response to a
terminated connection attempt. (type: 1-argument callable; see
||Called by subclasses to continue to the stage of initialization where
the socket connect attempt is made.
||Set the resolved address of this
and initiate the connection attempt.
Inherited from _BaseTCPClient:
Inherited from Connection:
Inherited from FileHandle (via Connection):
Inherited from _ConsumerMixin (via Connection, FileHandle):
None if no producer is registered, otherwise the registered
||A flag indicating whether the producer is currently paused. (type:
||A flag indicating whether the producer was registered as a streaming (ie
push) producer or not (ie a pull producer). This will determine whether
the consumer may ever need to pause and resume it, or if it can merely call
resumeProducing on it when buffer space is available.
Inherited from _LogOwner (via Connection, FileHandle):
Inherited from _SocketCloser (via Connection):
Inherited from _AbortingMixin (via Connection):
||Aborts the connection immediately, dropping any buffered data.
abortConnection is called. (type:
True, indicating that this is a client connection, and
by default when TLS is negotiated this class will act as a TLS client.
Create a socket registered with the IOCP reactor.
Clean up potentially circular references to the socket and to its
API Documentation for Twisted, generated by pydoctor at 2013-04-03 11:20:05.
Remove the active handle from the reactor.