class documentation

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

Implements interfaces: twisted.internet.interfaces.IStreamServerEndpointStringParser, twisted.plugin.IPlugin

View In Hierarchy

Stream server endpoint string parser for the TCP6ServerEndpoint type.

Instance Variable prefix No summary
Method parseStreamServer Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
Method _parseServer Internal parser function for _parseServer to convert the string arguments into structured arguments for the TCP6ServerEndpoint
def _parseServer(self, reactor, port, backlog=50, interface='::'): (source)

Internal parser function for _parseServer to convert the string arguments into structured arguments for the TCP6ServerEndpoint

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)
def parseStreamServer(self, reactor, *args, **kwargs): (source)

Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.

Returnsa stream server endpoint
See AlsoIStreamClientEndpointStringParserWithReactor.parseStreamClient
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.