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.
Method __repr__ Undocumented
def __init__(self, factory, timeout, reactor):
def disconnect(self):

Disconnect whatever our state is.

def connect(self):

Start connection to remote server.

def stopConnecting(self):

Stop attempting to connect.

def cancelTimeout(self):
Undocumented
def buildProtocol(self, addr):
Undocumented
def connectionFailed(self, reason):
Undocumented
def connectionLost(self, reason):
Undocumented
def getDestination(self):

Return destination this will try to connect to.

ReturnsAn object which provides IAddress.
def __repr__(self):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.