twisted.internet.interfaces.IConnector(Interface)
interface documentationtwisted.internet.interfaces
View Source
(View In Hierarchy)
Known implementations: twisted.internet.base.BaseConnector, twisted.names.srvconnect.SRVConnector, twisted.test.proto_helpers._FakeConnector
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.