t.i.p.ClientCreator : class documentation

Part of twisted.internet.protocol View Source View In Hierarchy

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 __init__ Undocumented
Method connectTCP Connect to remote host, return Deferred of resulting protocol instance.
Method connectUNIX Connect to Unix socket, return Deferred of resulting protocol instance.
Method connectSSL Connect to SSL server, return Deferred of resulting protocol instance.
def __init__(self, reactor, protocolClass, *args, **kwargs): (source)
Undocumented
def connectTCP(self, host, port, timeout=30, bindAddress=None): (source)
Connect to remote host, return Deferred of resulting protocol instance.
def connectUNIX(self, address, timeout=30, checkPID=0): (source)
Connect to Unix socket, return Deferred of resulting protocol instance.
def connectSSL(self, host, port, contextFactory, timeout=30, bindAddress=None): (source)
Connect to SSL server, return Deferred of resulting protocol instance.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.