class documentation

Fake IListeningPort implementation.

Method getHost Get the host that this port is listening for.
Method startListening Start listening on this port.
Method stopListening Stop listening.
Instance Variable deferred The Deferred returned by stopListening.
def getHost(self): (source)

Get the host that this port is listening for.

Returns
An IAddress provider.
def startListening(self): (source)

Start listening on this port.

Raises
CannotListenErrorIf it cannot listen on this port (e.g., it is a TCP port and it cannot bind to the required port number).
def stopListening(self): (source)
deferred = (source)

The Deferred returned by stopListening.