t.i.t.Connector(base.BaseConnector) : class documentation

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

Known subclasses: twisted.internet.iocpreactor.tcp.Connector, twisted.internet.ssl.Connector

A Connector provides of twisted.internet.interfaces.IConnector for all POSIX-style reactors.
Method __init__ Undocumented
Method getDestination
Instance Variable _addressType the type returned by Connector.getDestination. Either IPv4Address or IPv6Address, depending on the type of address. (type: type)
Method _makeTransport Create a Client bound to this Connector.

Inherited from BaseConnector:

Method disconnect Disconnect whatever our state is.
Method connect Start connection to remote server.
Method stopConnecting Stop attempting to connect.
Method cancelTimeout Undocumented
Method buildProtocol Undocumented
Method connectionFailed Undocumented
Method connectionLost Undocumented

Inherited from Ephemeral (via BaseConnector):

Method __getstate__ Undocumented
Method __setstate__ Undocumented
_addressType =
the type returned by Connector.getDestination. Either IPv4Address or IPv6Address, depending on the type of address. (type: type)
def __init__(self, host, port, factory, timeout, bindAddress, reactor=None): (source)
Undocumented
def _makeTransport(self): (source)
Create a Client bound to this Connector.
Returnsa new Client (type: Client)
def getDestination(self): (source)
See Alsotwisted.internet.interfaces.IConnector.getDestination.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.