twisted.internet.interfaces.IConnector.disconnect()
method documentationtwisted.internet.interfaces.IConnector
View Source
Disconnect regardless of the connection state.
If we are connected, disconnect, if we are trying to connect, stop trying.