Package ganeti :: Package confd :: Module client :: Class StoreResultCallback
[hide private]
[frames] | no frames]

Class StoreResultCallback

source code

Callback that simply stores the most recent answer.

Instance Methods [hide private]
 
__init__(self)
Constructor for StoreResultCallback
source code
 
GetResponse(self, salt)
Return the best match for a salt
source code
 
_HandleExpire(self, up)
Expiration handler.
source code
 
_HandleReply(self, up)
Handle a single confd reply, and decide whether to filter it.
source code
 
__call__(self, up)
Filtering callback
source code
Class Variables [hide private]
  _NO_KEY = False, None
Instance Variables [hide private]
  _answers
dict of salt to (have_answer, reply)
Method Details [hide private]

__call__(self, up)
(Call operator)

source code 

Filtering callback

Parameters: