| Trees | Indices | Help |
|---|
|
|
object --+
|
_newtls.ServerMixin --+
|
object --+ |
| |
_newtls.ConnectionMixin --+ |
| |
object --+ | |
| | |
abstract._ConsumerMixin --+ | |
| | |
object --+ | | |
| | | |
abstract._LogOwner --+ | |
| | |
abstract.FileDescriptor --+ |
| |
object --+ | |
| | |
_SocketCloser --+ |
| |
object --+ | |
| | |
_AbortingMixin --+ |
| |
Connection --+
|
Server
Serverside socket-stream connection class.
This is a serverside network connection transport; a socket which came from an accept() on a server.
|
|||
|
_addressType An IPv4Address represents the address of
an IPv4 socket endpoint.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
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.
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize it with a socket, a protocol, a descriptor for my peer (a tuple of host, port describing the other end of the connection), an instance of Port, and a session number.
|
A string representation of this connection.
|
Create a new Arguments are the same as to
|
Returns an This indicates the server's address. |
Returns an This indicates the client's address. |
|
|||
_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 |