class documentation

class _TCP6ServerParser: (source)

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

View In Hierarchy

Stream server endpoint string parser for the TCP6ServerEndpoint type.
Method parseStreamServer Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
Instance Variable prefix See IStreamServerEndpointStringParser.prefix.
Method _parseServer Internal parser function for _parseServer to convert the string arguments into structured arguments for the TCP6ServerEndpoint
def parseStreamServer(self, reactor, *args, **kwargs): (source)
Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
Returns
a stream server endpoint
See Also
IStreamClientEndpointStringParserWithReactor.parseStreamClient
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
Parameters
reactorAn IReactorTCP provider.
port:intThe port number used for listening
backlog:intSize of the listen queue
interface:strThe hostname to bind to