Pretend to be a DNS query processor for a DNSProtocol.

Instance Variable connections A list of DNSProtocol instances which have notified this controller that they are connected and have not yet notified it that their connection has been lost.
Method __init__ Initialize the controller: create a list of messages.
Method connectionMade Undocumented
Method connectionLost Undocumented

Inherited from TestController:

Instance Variable messages the list of received messages. (type: list of (msg, protocol, address))
Method messageReceived Save the message so that it can be checked during the tests.
connections =
A list of DNSProtocol instances which have notified this controller that they are connected and have not yet notified it that their connection has been lost.
def __init__(self):

Initialize the controller: create a list of messages.

def connectionMade(self, proto):
Undocumented
def connectionLost(self, proto):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.