twisted.internet.test.test_tcp.ConnectToTCPListenerMixin(object) class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_tcp.ListenTCPMixin, twisted.internet.test.test_tcp.SocketTCPMixin, twisted.internet.test.test_tls.TLSPortTestsBuilder
Provides connectToListener
for TCP transports.
| See Also | http://twistedmatrix.com/trac/ticket/1472 | |
| 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. | 
str)
  Connect to the given listening TCP port.
| Parameters | reactor | The reactor under test. (type: IReactorTCP) | 
| address | The listening port's address.  Only the portcomponent is 
used; seeLISTENER_HOST. (type:IPv4AddressorIPv6Address) | |
| factory | The client factory. (type: ClientFactory) | |
| Returns | The connector | |