| Trees | Indices | Help |
|---|
|
|
object --+
|
_BaseBaseClient --+
|
object --+ |
| |
_newtls.ClientMixin --+
|
object --+ |
| |
_newtls.ConnectionMixin --+ |
| |
object --+ | |
| | |
abstract._ConsumerMixin --+ | |
| | |
object --+ | | |
| | | |
abstract._LogOwner --+ | |
| | |
abstract.FileDescriptor --+ |
| |
object --+ | |
| | |
_SocketCloser --+ |
| |
object --+ | |
| | |
_AbortingMixin --+ |
| |
Connection --+
|
BaseClient
A base class for client TCP (and similiar) sockets.
|
|||
type
|
_commonConnection Subclasses must provide this attribute, which indicates the Connection-alike class to invoke
__init__ and connectionLost on.
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
_baseConnection, which is the base class of this
class which has all of the useful file descriptor methods.
|
|||
tuple
|
realAddress The address object that will be used for socket.connect; this address is an address tuple (the number of elements dependent upon the address family) which does not contain any names which need to be resolved. |
||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
See Also:
|
This is a hook for when a connection attempt has succeeded. Here, we build the protocol from the This hook is overridden by |
|
Initiate the outgoing connection attempt. Note:
Applications do not need to call this method; it will be invoked
internally as part of |
|
|||
_baseConnection, which is the base class of this
class which has all of the useful file descriptor methods. This is used
by _TLSServerMixin to call the right methods to
directly manipulate the transport, as is necessary for writing
TLS-encrypted bytes (whereas those methods on Server will go through another layer of TLS if it has
been enabled).
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon May 11 00:19:34 2015 | http://epydoc.sourceforge.net |