class twisted.internet.interfaces.IConnector(Interface): (source)
Known implementations: twisted.internet.testing._FakeConnector, twisted.names.srvconnect.SRVConnector
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. |
Disconnect regardless of the connection state.
If we are connected, disconnect, if we are trying to connect, stop trying.