twisted_core.py 589 B

123456789101112131415161718
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. from __future__ import absolute_import, division
  4. from twisted.internet.endpoints import (
  5. _SystemdParser, _TCP6ServerParser, _StandardIOParser,
  6. _TLSClientEndpointParser)
  7. from twisted.protocols.haproxy._parser import (
  8. HAProxyServerParser as _HAProxyServerParser
  9. )
  10. systemdEndpointParser = _SystemdParser()
  11. tcp6ServerEndpointParser = _TCP6ServerParser()
  12. stdioEndpointParser = _StandardIOParser()
  13. tlsClientEndpointParser = _TLSClientEndpointParser()
  14. _haProxyServerEndpointParser = _HAProxyServerParser()