twisted.internet.test.test_tcp.ListenTCPMixin(ConnectToTCPListenerMixin)
class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_tcp.TCPPortTestsBuilder
Mixin which uses IReactorTCP.listenTCP
to hand out listening TCP ports.
Method | getListeningPort | Get a TCP port from a reactor. |
Inherited from ConnectToTCPListenerMixin:
Instance Variable | LISTENER_HOST | The host on which the port is expected to be listening. This is specific
to avoid compatibility issues with Windows, which cannot connect to the
wildcard host. (type: str ) |
Method | connectToListener | Connect to the given listening TCP port. |