Implements interfaces: twisted.internet.interfaces.IListeningPort

A fake IListeningPort to be used in tests.

Instance Variable _hostAddress The IAddress this IListeningPort is pretending to be listening on.
Method __init__
Method startListening Fake IListeningPort.startListening that doesn't do anything.
Method stopListening Fake IListeningPort.stopListening that doesn't do anything.
Method getHost Fake IListeningPort.getHost that returns our IAddress.
_hostAddress =
The IAddress this IListeningPort is pretending to be listening on.
def __init__(self, hostAddress): (source)
ParametershostAddressAn IAddress this IListeningPort should pretend to be listening on.
def startListening(self): (source)
def stopListening(self): (source)
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.