class documentation

class twisted.internet.tcp.Connector(base.BaseConnector): (source)

Known subclasses: twisted.internet.iocpreactor.tcp.Connector, twisted.internet.ssl.Connector

View In Hierarchy

A Connector provides of twisted.internet.interfaces.IConnector for all POSIX-style reactors.

Method __init__ Undocumented
Instance Variable host Undocumented
Instance Variable port Undocumented
Instance Variable bindAddress Undocumented
Method getDestination
Instance Variable _addressType the type returned by Connector.getDestination. Either IPv4Address or IPv6Address, depending on the type of address.
Method _makeTransport Create a Client bound to this Connector.

Inherited from BaseConnector:

Instance Variable timeoutID Undocumented
Instance Variable factoryStarted 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 __repr__ Undocumented
_addressType = (source)
the type returned by Connector.getDestination. Either IPv4Address or IPv6Address, depending on the type of address.
(type: type)
def __init__(self, host, port, factory, timeout, bindAddress, reactor=None): (source)
host = (source)

Undocumented

port = (source)

Undocumented

bindAddress = (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.