16 #ifndef HAZELCAST_ADDRESS
17 #define HAZELCAST_ADDRESS
19 #include "hazelcast/util/HazelcastDll.h"
20 #include "hazelcast/client/serialization/IdentifiedDataSerializable.h"
25 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
27 #pragma warning(disable: 4251) //for dll export
48 Address(
const std::string &url,
int port);
54 bool operator == (
const Address &address)
const;
60 bool operator != (
const Address &address)
const;
70 const std::string& getHost()
const;
73 virtual int getFactoryId()
const;
75 virtual int getClassId()
const;
87 static const byte IPV4;
88 static const byte IPV6;
103 std::ostream HAZELCAST_API &operator << (std::ostream &stream,
const Address &address);
108 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Provides serialization methods for primitive types,a arrays of primitive types, Portable, IdentifiedDataSerializable and custom serializables.
Definition: ObjectDataOutput.h:52
IP Address.
Definition: Address.h:36
Classes that will be used with hazelcast data structures like IMap, IQueue etc should either inherit ...
Definition: IdentifiedDataSerializable.h:42
Address comparator functor.
Definition: Address.h:94