8 #ifndef INCLUDE_INFINISPAN_HOTROD_CLIENTLISTENER_H_ 9 #define INCLUDE_INFINISPAN_HOTROD_CLIENTLISTENER_H_ 29 class RemoteCacheBase;
30 template <
class K,
class V>
38 bool includeCurrentState =
false;
41 bool useRawData = false ;
42 unsigned char interestFlag=0;
52 for (
auto callable : failoverCallbacks) {
57 failoverCallbacks.push_back(callback);
67 this->listenerId = listenerId;
71 std::list<std::function<void()> > failoverCallbacks;
72 std::vector<char> listenerId;
void add_listener(std::function< void()> callback)
Definition: ClientListener.h:56
const std::vector< char > & getListenerId() const
Definition: ClientListener.h:62
Definition: ClientEvent.h:120
Definition: ClientEvent.h:145
std::vector< char > filterFactoryName
Definition: ClientListener.h:39
Definition: CacheClientListener.h:28
Definition: AuthenticationConfiguration.h:10
Definition: ClientEvent.h:104
Definition: ClientEvent.h:71
virtual ~ClientListener()
Definition: ClientListener.h:60
virtual void processFailoverEvent() const
Definition: ClientListener.h:50
Definition: ClientListener.h:35
Definition: AuthenticationConfiguration.h:11
void setListenerId(const std::vector< char > &listenerId)
Definition: ClientListener.h:66
std::vector< char > converterFactoryName
Definition: ClientListener.h:40
Definition: ClientEvent.h:38
void setInterestFlag(unsigned char flag)
Definition: ClientListener.h:44