class documentation
class ConnectToTCPListenerMixin:
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 |
Method | connect |
Connect to the given listening TCP port. |
Constant | LISTENER |
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. |
overridden in
twisted.internet.test.test_tls.TLSPortTestsBuilder
Connect to the given listening TCP port.
Parameters | |
reactor:IReactorTCP | The reactor under test. |
address:IPv4Address or IPv6Address | The listening port's address. Only the port component is used; see LISTENER_HOST . |
factory:ClientFactory | The client factory. |
Returns | |
The connector |