Known implementations: twisted.internet.base.BaseConnector, twisted.names.srvconnect.SRVConnector, twisted.test.proto_helpers._FakeConnector

Object used to interface between connections and protocols.

Each IConnector manages one connection.

Method stopConnecting Stop attempting to connect.
Method disconnect Disconnect regardless of the connection state.
Method connect Try to connect to remote address.
Method getDestination Return destination this will try to connect to.
def stopConnecting(): (source)

Stop attempting to connect.

def disconnect(): (source)

Disconnect regardless of the connection state.

If we are connected, disconnect, if we are trying to connect, stop trying.

def connect(): (source)

Try to connect to remote address.

def getDestination(): (source)

Return destination this will try to connect to.

ReturnsAn object which provides IAddress.
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.