t.i.b.BaseConnector(styles.Ephemeral) : class documentation

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

Known subclasses: twisted.internet.tcp.Connector, twisted.internet.unix.Connector

Implements interfaces: twisted.internet.interfaces.IConnector

Basic implementation of connector.

State can be: "connecting", "connected", "disconnected"

Method __init__ Undocumented
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
Method getDestination Return destination this will try to connect to.

Inherited from Ephemeral:

Method __getstate__ Undocumented
Method __setstate__ Undocumented
def __init__(self, factory, timeout, reactor): (source)
Undocumented
def disconnect(self): (source)
Disconnect whatever our state is.
def connect(self): (source)
Start connection to remote server.
def stopConnecting(self): (source)
Stop attempting to connect.
def cancelTimeout(self): (source)
Undocumented
def buildProtocol(self, addr): (source)
Undocumented
def connectionFailed(self, reason): (source)
Undocumented
def connectionLost(self, reason): (source)
Undocumented
def getDestination(self): (source)
Return destination this will try to connect to.
ReturnsAn object which provides IAddress.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.