class twisted.internet.interfaces.IStreamServerEndpointStringParser(Interface): (source)
Known implementations: twisted.internet.endpoints._StandardIOParser, twisted.internet.endpoints._SystemdParser, twisted.internet.endpoints._TCP6ServerParser
An IStreamServerEndpointStringParser
is like an IStreamClientEndpointStringParserWithReactor
, except for IStreamServerEndpoint
s instead of clients. It integrates with endpoints.serverFromString
in much the same way.
Attribute | prefix | No summary |
Method | parseStreamServer | Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments. |
A str
, the description prefix to respond to. For example, an IStreamServerEndpointStringParser
plugin which had "foo"
for its prefix
attribute would be called for endpoint descriptions like "foo:bar:baz"
or "foo:"
.
Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
Parameters | reactor | Undocumented (type: IReactorCore ) |
args | Undocumented (type: object ) | |
kwargs | Undocumented (type: object ) | |
Returns | a stream server endpoint (type: IStreamServerEndpoint ) | |
See Also | IStreamClientEndpointStringParserWithReactor.parseStreamClient |