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