Undocumented
Method __init__ Server(sock, protocol, client, server, sessionno)
Method getHost Returns an IPv4Address or IPv6Address.
Method getPeer Returns an IPv4Address or IPv6Address.

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.

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 2016-04-04 15:02:49.