20 #ifndef HAZELCAST_MembershipEvent
21 #define HAZELCAST_MembershipEvent
24 #include "hazelcast/client/Member.h"
26 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
28 #pragma warning(disable: 4251) //for dll export
79 virtual const std::vector<Member> getMembers()
const;
86 virtual const Cluster &getCluster()
const;
94 virtual MembershipEventType getEventType()
const;
101 virtual const Member &getMember()
const;
106 MembershipEventType eventType;
107 std::vector<Member> members;
112 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
116 #endif //HAZELCAST_MembershipEvent
Membership event fired when a new member is added to the cluster and/or when a member leaves the clus...
Definition: MembershipEvent.h:42
MembershipEventType
MembershipEventType.
Definition: MembershipEvent.h:50
Hazelcast cluster interface.
Definition: Cluster.h:40
Cluster member class.
Definition: Member.h:44