twisted.internet.base.BaseConnector class documentationtwisted.internet.base
View Source
(View In Hierarchy)
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"
| 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. |
| Method | stopConnecting | Stop attempting to connect. |
| Method | cancelTimeout | Undocumented |
| Method | buildProtocol | Undocumented |
| Method | connectionFailed | Undocumented |
| Instance Variable | transport | Undocumented |
| Method | connectionLost | Undocumented |
| Method | getDestination | Return destination this will try to connect to. |
| Method | __repr__ | Undocumented |
Return destination this will try to connect to.
| Returns | An object which provides IAddress. | |