«
class documentation

class TestTCPController(TestController):

Constructor: TestTCPController()

View In Hierarchy

Pretend to be a DNS query processor for a DNSProtocol.

Method __init__ Initialize the controller: create a list of messages.
Method connectionLost Undocumented
Method connectionMade Undocumented
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.

Inherited from TestController:

Method messageReceived Save the message so that it can be checked during the tests.
Instance Variable messages the list of received messages.
def __init__(self):

Initialize the controller: create a list of messages.

def connectionLost(self, proto):

Undocumented

def connectionMade(self, proto):

Undocumented

connections: list =

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.