class documentation

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

Known subclasses: twisted.internet.endpoints.TCP4ServerEndpoint, twisted.internet.endpoints.TCP6ServerEndpoint

Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint

View In Hierarchy

A TCP server endpoint interface

Method __init__
Method listen Implement IStreamServerEndpoint.listen to listen on a TCP socket
Instance Variable _reactor Undocumented
Instance Variable _port Undocumented
Instance Variable _backlog Undocumented
Instance Variable _interface Undocumented
def __init__(self, reactor, port, backlog, interface): (source)
ParametersreactorAn IReactorTCP provider.
portThe port number used for listening (type: int)
backlogSize of the listen queue (type: int)
interfaceThe hostname to bind to (type: str)
_reactor = (source)

Undocumented

_port = (source)

Undocumented

_backlog = (source)

Undocumented

_interface = (source)

Undocumented

def listen(self, protocolFactory): (source)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.