class twisted.internet.base.BaseConnector(ABC): (source)
Known subclasses: twisted.internet.tcp.Connector, twisted.internet.unix.Connector
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 |
Undocumented
Parameters | factory | Undocumented (type: ClientFactory ) |
timeout | Undocumented (type: float ) | |
reactor | Undocumented (type: ReactorBase ) |
Undocumented
Returns | Undocumented (type: Client ) |
Undocumented
Parameters | reason | Undocumented (type: Failure ) |
Undocumented
Returns | Undocumented (type: IAddress ) |