class _FakePort: (source)
Implements interfaces: twisted.internet.interfaces.IListeningPort
IListeningPort
to be used in tests.Method | __init__ |
|
Method | getHost |
Fake IListeningPort.getHost that returns our IAddress . |
Method | startListening |
Fake IListeningPort.startListening that doesn't do anything. |
Method | stopListening |
Fake IListeningPort.stopListening that doesn't do anything. |
Instance Variable | _hostAddress |
The IAddress this IListeningPort is pretending to be listening on. |