class documentation
class FakePort: (source)
Implements interfaces: twisted.internet.interfaces.IListeningPort
Fake IListeningPort
implementation.
Method | get |
Get the host that this port is listening for. |
Method | start |
Start listening on this port. |
Method | stop |
Stop listening. |
Instance Variable | deferred |
The Deferred returned by stopListening. |
Start listening on this port.
Raises | |
CannotListenError | If it cannot listen on this port (e.g., it is a TCP port and it cannot bind to the required port number). |