class documentation

class TestTCPController(TestController): (source)

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): (source)

Initialize the controller: create a list of messages.

def connectionLost(self, proto): (source)

Undocumented

def connectionMade(self, proto): (source)

Undocumented

connections: list = (source)

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.