18 #include "hazelcast/util/export.h"
21 #include <boost/thread/future.hpp>
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251)
26 #pragma warning(disable: 4250)
32 class hazelcast_client_instance_impl;
51 friend class impl::hazelcast_client_instance_impl;
64 virtual const std::string&
get_name()
const = 0;
70 virtual boost::future<void>
destroy() = 0;
81 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Base class for all distributed objects.
virtual const std::string & get_name() const =0
Returns the unique name for this DistributedObject.
virtual boost::future< void > destroy()=0
Destroys this object cluster-wide.
virtual ~distributed_object()=default
Destructor.
virtual const std::string & get_service_name() const =0
Returns the service name for this object.