class IStreamServerEndpointStringParser(Interface): (source)
Known implementations: twisted.protocols.haproxy._parser.HAProxyServerParser, twisted.internet.endpoints._StandardIOParser, twisted.internet.endpoints._SystemdParser, twisted.internet.endpoints._TCP6ServerParser
An IStreamServerEndpointStringParser is like an IStreamClientEndpointStringParserWithReactor, except for IStreamServerEndpoints instead of clients. It integrates with endpoints.serverFromString in much the same way.
| Method | parse |
Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments. |
| Attribute | prefix |
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"... |
IReactorCore, *args: object, **kwargs: object) -> IStreamServerEndpoint:
(source)
¶
Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
| Returns | |
IStreamServerEndpoint | a stream server endpoint |
| See Also | |
IStreamClientEndpointStringParserWithReactor.parseStreamClient | |
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:".