t.i.e.TCP4ServerEndpoint(object) : class documentation

Part of twisted.internet.endpoints View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint

TCP server endpoint with an IPv4 configuration
Instance Variables_reactorAn IReactorTCP provider.
_portThe port number on which to listen for incoming connections. (type: int )
_backlogsize of the listen queue (type: int )
_interfacethe hostname to bind to, defaults to '' (all) (type: str )
Method __init__ No summary
Method listen Implement IStreamServerEndpoint.listen to listen on a TCP socket
def __init__(self, reactor, port, backlog=50, interface=''): (source)
ParametersreactorAn IReactorTCP provider.
portThe port number used listening
backlogsize of the listen queue
interfacethe hostname to bind to, defaults to '' (all)
def listen(self, protocolFactory): (source)
Implement IStreamServerEndpoint.listen to listen on a TCP socket
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.