class documentation

class FakeResolverReactor:

Constructor: FakeResolverReactor(names)

View In Hierarchy

Bare-bones reactor with deterministic behavior for the resolve method.

Method __init__ No summary
Method resolve Resolve a hostname by looking it up in the names dictionary.
Instance Variable names Undocumented
def __init__(self, names):
Parameters
names:dict containing str keys and str values.A hostname to IP address mapping. The IP addresses are stringified dotted quads.
def resolve(self, hostname):

Resolve a hostname by looking it up in the names dictionary.

names =

Undocumented