class documentation
class _FakeConnector: (source)
Constructor: _FakeConnector(address)
Implements interfaces: twisted.internet.interfaces.IConnector
A fake IConnector
that allows us to inspect if it has been told to stop connecting.
Method | __init__ |
No summary |
Method | connect |
Implement IConnector.connect as a no-op. |
Method | disconnect |
Implement IConnector.disconnect as a no-op. |
Method | get |
Implement IConnector.getDestination to return the address passed to __init__. |
Method | stop |
Implement IConnector.stopConnecting and set _FakeConnector.stoppedConnecting to True |
Instance Variable | stopped |
has this connector's _FakeConnector.stopConnecting method been invoked yet? |
Instance Variable | _address |
An IAddress provider that represents our destination. |
Instance Variable | _disconnected |
Undocumented |