class documentation

class twisted.internet.base.BaseConnector(ABC): (source)

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

View In Hierarchy

Basic implementation of IConnector.

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

Instance Variable timeoutID Undocumented
Instance Variable factoryStarted Undocumented
Method __init__ Undocumented
Instance Variable state Undocumented
Instance Variable reactor Undocumented
Instance Variable factory Undocumented
Instance Variable timeout Undocumented
Method disconnect Disconnect whatever our state is.
Method connect Start connection to remote server.
Instance Variable transport Undocumented
Method stopConnecting Stop attempting to connect.
Method cancelTimeout Undocumented
Method buildProtocol Undocumented
Method connectionFailed Undocumented
Method connectionLost Undocumented
Method getDestination Undocumented
Method __repr__ Undocumented
Method _makeTransport Undocumented
timeoutID = (source)

Undocumented

factoryStarted = (source)

Undocumented

(type: int)
def __init__(self, factory, timeout, reactor): (source)

Undocumented

ParametersfactoryUndocumented (type: ClientFactory)
timeoutUndocumented (type: float)
reactorUndocumented (type: ReactorBase)
state = (source)

Undocumented

(type: str)
reactor = (source)

Undocumented

factory = (source)

Undocumented

timeout = (source)

Undocumented

def disconnect(self): (source)

Disconnect whatever our state is.

@abstractmethod
def _makeTransport(self): (source)

Undocumented

ReturnsUndocumented (type: Client)
def connect(self): (source)

Start connection to remote server.

transport = (source)

Undocumented

def stopConnecting(self): (source)

Stop attempting to connect.

def cancelTimeout(self): (source)

Undocumented

def buildProtocol(self, addr): (source)

Undocumented

ParametersaddrUndocumented (type: Tuple[str, int])
ReturnsUndocumented (type: IProtocol)
def connectionFailed(self, reason): (source)

Undocumented

ParametersreasonUndocumented (type: Failure)
def connectionLost(self, reason): (source)

Undocumented

ParametersreasonUndocumented (type: Failure)
def getDestination(self): (source)

Undocumented

ReturnsUndocumented (type: IAddress)
def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.