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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _NO_KEY = False, None
Instance Variables [hide private]
  _answers
dict of salt to (have_answer, reply)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Constructor for StoreResultCallback

Overrides: object.__init__

__call__(self, up)
(Call operator)

source code 

Filtering callback

Parameters: