class documentation
class ConfdCountingCallback(object):
Callback that calls another callback, and counts the answers
Method | __call__ |
Filtering callback |
Method | __init__ |
Constructor for ConfdCountingCallback |
Method |
|
Have all the registered queries received at least an answer? |
Method |
|
Undocumented |
Method | _ |
Undocumented |
Method | _ |
Handle a single confd reply, and decide whether to filter it. |
Instance Variable | _answers |
Undocumented |
Instance Variable | _callback |
Undocumented |
Instance Variable | _logger |
Undocumented |
Constructor for ConfdCountingCallback
Parameters | |
callback:f(ConfdUpcallPayload ) | function to call when getting answers |
logger:logging.Logger | optional logger for internal conditions |