class documentation

class FakeResolverReactor: (source)

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

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

Undocumented