class twisted.internet.tcp.Connector(base.BaseConnector): (source)
Known subclasses: twisted.internet.iocpreactor.tcp.Connector, twisted.internet.ssl.Connector
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 |
Connector.getDestination
. Either IPv4Address
or IPv6Address
, depending on the type of address.type
)
Undocumented