No class docstring
Method __init__ Server(sock, protocol, client, server, sessionno)
Method getHost Returns an IPv4Address or IPv6Address.
Method getPeer Returns an IPv4Address or IPv6Address.
Class Method _fromConnectedSocket Create a new Server based on an existing connected SOCK_STREAM socket.

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)

Inherited from _AbortingMixin (via Server, Connection):

Method abortConnection Aborts the connection immediately, dropping any buffered data.
Instance Variable _aborting Set to True when abortConnection is called. (type: bool)
def __init__(self, sock, protocol, client, server, sessionno, reactor): (source)

Server(sock, protocol, client, server, sessionno)

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.

@classmethod
def _fromConnectedSocket(cls, fileDescriptor, factory, reactor): (source)

Create a new Server based on an existing connected SOCK_STREAM socket.

Arguments are the same as to Server.__init__, except where noted.

ParametersfileDescriptorAn integer file descriptor associated with a connected socket. The socket must be in non-blocking mode. Any additional attributes desired, such as FD_CLOEXEC, must also be set already.
ReturnsA new instance of cls wrapping the socket given by fileDescriptor.
def getHost(self): (source)

Returns an IPv4Address or IPv6Address.

This indicates the server's address.

def getPeer(self): (source)

Returns an IPv4Address or IPv6Address.

This indicates the client's address.

API Documentation for Twisted, generated by pydoctor at 2019-08-06 12:10:50.