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
Method __init__ No summary
Method listen Implement IStreamServerEndpoint.listen to listen on a TCP socket
Instance Variable _reactor An IReactorTCP provider.
Instance Variable _port The port number on which to listen for incoming connections. (type: int)
Instance Variable _backlog size of the listen queue (type: int)
Instance Variable _interface the hostname to bind to, defaults to '' (all) (type: str)
_reactor =
An IReactorTCP provider.
_port =
The port number on which to listen for incoming connections. (type: int)
_backlog =
size of the listen queue (type: int)
_interface =
the hostname to bind to, defaults to '' (all) (type: str)
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 2012-06-04 17:20:01.