21 #ifndef HAZELCAST_MEMBER 
   22 #define HAZELCAST_MEMBER 
   25 #include "hazelcast/client/Address.h" 
   27 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
   29 #pragma warning(disable: 4251) //for dll export  
   34         namespace connection {
 
   35             class ClusterListenerThread;
 
   46             friend class connection::ClusterListenerThread;
 
   59             Member(
const Address &address, 
const std::string &uuid, 
bool lite,
 
   60                    const std::map<std::string, std::string> &attr);
 
   65             bool operator==(
const Member &) 
const;
 
   72             bool isLiteMember() 
const;
 
   79             const Address &getAddress() 
const;
 
   86             const std::string &getUuid() 
const;
 
   88             const std::map<std::string, std::string> &getAttributes() 
const;
 
   98             const std::string *getAttribute(
const std::string &key) 
const;
 
  106             bool lookupAttribute(
const std::string &key) 
const;
 
  109             void setAttribute(
const std::string &key, 
const std::string &value);
 
  111             bool removeAttribute(
const std::string &key);
 
  116             std::map<std::string, std::string> attributes;
 
  119         std::ostream HAZELCAST_API &operator<<(std::ostream &stream, 
const Member &member);
 
  123 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
  128 #endif //HAZELCAST_MEMBER 
IP Address. 
Definition: Address.h:34
Cluster member class. 
Definition: Member.h:44
MemberAttributeOperationType
PUT even type representing an addition of an attribute REMOVE event type representing a deletion of a...
Definition: Member.h:52