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;
64 const std::string& getHost()
const;
67 virtual int getFactoryId()
const;
69 virtual int getClassId()
const;
81 static const byte IPV4;
82 static const byte IPV6;
97 std::ostream HAZELCAST_API &operator << (std::ostream &stream,
const Address &address);
102 #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:51
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:88