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

Stream server endpoint string parser for the TCP6ServerEndpoint type.

Instance Variable prefix See IStreamServerEndpointStringParser.prefix.
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 (type: IStreamServerEndpoint)
See AlsoIStreamClientEndpointStringParserWithReactor.parseStreamClient
API Documentation for Twisted, generated by pydoctor at 2019-11-11 15:02:42.