twisted.internet.protocol.ClientCreator._connect(self, method, *args, **kwargs) method documentationtwisted.internet.protocol.ClientCreator
View Source
Initiate a connection attempt.
| Parameters | method | A callable which will actually start the connection attempt. For example, reactor.connectTCP. |
| *args | Positional arguments to pass to method, excluding the factory. | |
| **kwargs | Keyword arguments to pass to method. | |
| Returns | A Deferred which fires with an instance of the protocol class passed to this ClientCreator's initializer or fails if the connection cannot be set up for some reason. | |
| Function | cancelConnect | Undocumented |