4 #include "kvstore.pb.h"
6 #include "protobufrpc.h"
8 using namespace bicker;
12 class KeyValueClientRouter;
17 KeyValueClient(const string& host,
20 KeyValueClient(const list<string> &hosts);
22 bool Put(const string& key,
25 bool Put(const string& key,
27 TaskNotification &tn);
29 bool Get(const string& key, string* value);
31 bool Get(const string& key,
33 TaskNotification &tn);
36 shared_ptr<KeyValueClientRouter> _router;
38 } // namespace kvstore