class documentation

class twisted.internet.endpoints.AdoptedStreamServerEndpoint: (source)

Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint

View In Hierarchy

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

Method __init__
Instance Variable reactor Undocumented
Instance Variable fileno Undocumented
Instance Variable addressFamily Undocumented
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.
Class Variable _setNonBlocking Undocumented
_used = (source)
A bool indicating whether this endpoint has been used to listen with a factory yet. True if so.
(type: bool)
_setNonBlocking = (source)

Undocumented

def __init__(self, reactor, fileno, addressFamily): (source)
ParametersreactorAn IReactorSocket provider.
filenoAn integer file descriptor corresponding to a listening SOCK_STREAM socket.
addressFamilyThe address family of the socket given by fileno.
reactor = (source)

Undocumented

fileno = (source)

Undocumented

addressFamily = (source)

Undocumented

def listen(self, factory): (source)

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

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.