t.a.s.service(description, factory, default=_DEFAULT, reactor=None) : function documentation

Part of twisted.application.strports View Source

Return the service corresponding to a description.
ParametersdescriptionThe description of the listening port, in the syntax described by twisted.internet.endpoints.server. (type: str )
factoryThe protocol factory which will build protocols for connections to this service. (type: twisted.internet.interfaces.IProtocolFactory )
defaultDo not use this parameter. It is deprecated since Twisted
(type: str or None )
Returnsthe service corresponding to a description of a reliable stream server. (type: twisted.application.service.IService )
See Alsotwisted.internet.endpoints.serverFromString
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.