twisted.application.strports module documentationtwisted.application
View Source
Construct listening port services from a simple string description.
| See Also | twisted.internet.endpoints.serverFromString | |
twisted.internet.endpoints.clientFromString | ||
| Function | parse | This function is deprecated as of Twisted 10.2. |
| Function | service | Return the service corresponding to a description. |
| Function | listen | Listen on a port corresponding to a description |
This function is deprecated as of Twisted 10.2.
| See Also | twisted.internet.endpoints.server | |
Return the service corresponding to a description.
| Parameters | description | The description of the listening port, in the syntax described by
twisted.internet.endpoints.server. (type: str) |
| factory | The protocol factory which will build protocols for connections to this
service. (type: twisted.internet.interfaces.IProtocolFactory) | |
| default | Do not use this parameter. It has been deprecated since Twisted 10.2.0. (type: str or None) | |
| Returns | the service corresponding to a description of a reliable stream server. (type: twisted.application.service.IService) | |
| See Also | twisted.internet.endpoints.serverFromString | |
Listen on a port corresponding to a description
| Returns | the port corresponding to a description of a reliable virtual circuit
server.
See the documentation of the twisted.internet.interfaces.IListeningPort) | |