Part of twisted.application View Source
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 |
See Also | twisted.internet.endpoints.server
|
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 is deprecated since Twisted
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
|
Parameters | description | (type: str
) |
factory | (type: twisted.internet.interfaces.IProtocolFactory
) | |
default | (type: str or None
) | |
Returns | the port corresponding to a description of a reliable virtual circuit server. See the documentation of theparse function for description
of the semantics of the arguments.
(type: twisted.internet.interfaces.IListeningPort
) |