Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint

An endpoint for listening on a file descriptor initialized outside of Twisted.

Method __init__
Method listen Implement IStreamServerEndpoint.listen to start listening on, and then close, self._fileno.
Instance Variable _used A bool indicating whether this endpoint has been used to listen with a factory yet. True if so.
_used =
A bool indicating whether this endpoint has been used to listen with a factory yet. True if so.
def __init__(self, reactor, fileno, addressFamily):
ParametersreactorAn IReactorSocket provider.
filenoAn integer file descriptor corresponding to a listening SOCK_STREAM socket.
addressFamilyThe address family of the socket given by fileno.
def listen(self, factory):

Implement IStreamServerEndpoint.listen to start listening on, and then close, self._fileno.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.