class documentation

class StoreResultCallback(object):

View In Hierarchy

Callback that simply stores the most recent answer.

Method __call__ Filtering callback
Method __init__ Constructor for StoreResultCallback
Method GetResponse Return the best match for a salt
Method _HandleExpire Expiration handler.
Method _HandleReply Handle a single confd reply, and decide whether to filter it.
Constant _NO_KEY Undocumented
Instance Variable _answers dict of salt to (have_answer, reply)
def __call__(self, up):

Filtering callback

Parameters
up:ConfdUpcallPayloadupper callback
def __init__(self):

Constructor for StoreResultCallback

def GetResponse(self, salt):

Return the best match for a salt

def _HandleExpire(self, up):

Expiration handler.

def _HandleReply(self, up):

Handle a single confd reply, and decide whether to filter it.

_NO_KEY: tuple =

Undocumented

Value
(False, None)
_answers: dict =

dict of salt to (have_answer, reply)