twisted.names.test.test_dns.TestTCPController(TestController)
class documentationtwisted.names.test.test_dns
(View In Hierarchy)
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. |
DNSProtocol
instances which have notified this controller that they are connected and
have not yet notified it that their connection has been lost.