class documentation
class _FakePort: (source)
Constructor: _FakePort(hostAddress)
Implements interfaces: twisted.internet.interfaces.IListeningPort
A fake IListeningPort to be used in tests.
| Method | __init__ |
No summary |
| Method | get |
Fake IListeningPort.getHost that returns our IAddress. |
| Method | start |
Fake IListeningPort.startListening that doesn't do anything. |
| Method | stop |
Fake IListeningPort.stopListening that doesn't do anything. |
| Instance Variable | _host |
The IAddress this IListeningPort is pretending to be listening on. |