19 #include <boost/optional.hpp> 21 #include "hazelcast/util/export.h" 23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 25 #pragma warning(disable: 4251) //for dll export 49 virtual void on_response(
const boost::optional<V> &response) = 0;
55 virtual void on_failure(std::exception_ptr e) = 0;
60 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) virtual void on_response(const boost::optional< V > &response)=0
Called when an execution is completed successfully.
execution_callback allows to asynchronously get notified when the execution is completed, either successfully or with error.
Definition: execution_callback.h:40
virtual void on_failure(std::exception_ptr e)=0
Called when an execution is completed with an error.