Known subclasses: twisted.names.test.test_dns.TestTCPController

Pretend to be a DNS query processor for a DNSDatagramProtocol.

Instance Variable messages the list of received messages. (type: list of (msg, protocol, address))
Method __init__ Initialize the controller: create a list of messages.
Method messageReceived Save the message so that it can be checked during the tests.
messages =
the list of received messages. (type: list of (msg, protocol, address))
def __init__(self):

Initialize the controller: create a list of messages.

def messageReceived(self, msg, proto, addr=None):

Save the message so that it can be checked during the tests.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.