Client connections that do not require a factory.
The various connect* methods create a protocol instance using the
given protocol class and arguments, and connect it, returning a Deferred
of the resulting protocol instance.
Useful for cases when we don't really need a factory. Mainly this is
when there is no shared state between protocol instances, and no need to
reconnect.
| Method Summary |
| |
__init__(self,
reactor,
protocolClass,
*args,
**kwargs)
|
| |
connectSSL(self,
host,
port,
contextFactory,
timeout,
bindAddress)
Connect to SSL server, return Deferred of resulting protocol
instance. |
| |
connectTCP(self,
host,
port,
timeout,
bindAddress)
Connect to remote host, return Deferred of resulting protocol
instance. |
| |
connectUNIX(self,
address,
timeout,
checkPID)
Connect to Unix socket, return Deferred of resulting protocol
instance. |