twisted.application.strports.service(description, factory, reactor=None)
function documentationtwisted.application.strports
View Source
Return the service corresponding to a description.
Parameters | description | The description of the listening port, in the syntax described by twisted.internet.endpoints.serverFromString . (type: str ) |
factory | The protocol factory which will build protocols for connections to this
service. (type: twisted.internet.interfaces.IProtocolFactory ) | |
Returns | the service corresponding to a description of a reliable stream server. (type: twisted.application.service.IService ) | |
See Also | twisted.internet.endpoints.serverFromString |