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.
def __init__(self, factory, timeout, reactor): (source)
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 2017-06-11 10:59:01.