t.n.c.CacheResolver(common.ResolverBase) : class documentation

Part of twisted.names.cache View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IResolver

A resolver that serves records from a local, memory cache.
Method __init__ Undocumented
Method __setstate__ Undocumented
Method __getstate__ Undocumented
Method lookupAllRecords
Method cacheResult Undocumented
Method clearEntry Undocumented
Method _lookup Undocumented

Inherited from ResolverBase:

Method exceptionForCode Convert a response code (one of the possible values of dns.Message.rCode to an exception instance representing it.
Method query Undocumented
Method lookupAddress
Method lookupIPV6Address
Method lookupAddress6
Method lookupMailExchange
Method lookupNameservers
Method lookupCanonicalName
Method lookupMailBox
Method lookupMailGroup
Method lookupMailRename
Method lookupPointer
Method lookupAuthority
Method lookupNull
Method lookupWellKnownServices
Method lookupService
Method lookupHostInfo
Method lookupMailboxInfo
Method lookupText
Method lookupSenderPolicy
Method lookupResponsibility
Method lookupAFSDatabase
Method lookupZone
Method lookupNamingAuthorityPointer
Method getHostByName
Method _cbRecords Undocumented
def __init__(self, cache=None, verbose=0): (source)
def __setstate__(self, state): (source)
def __getstate__(self): (source)
def _lookup(self, name, cls, type, timeout): (source)
def lookupAllRecords(self, name, timeout=None): (source)
See Alsotwisted.names.client.lookupAllRecords
def cacheResult(self, query, payload): (source)
def clearEntry(self, query): (source)
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.