8 #define DRIPLINE_API_EXPORTS 17 reply_cache::get_instance()->set_cache( a_code, a_message, std::move(a_payload_ptr) );
30 std::unique_lock< std::mutex > t_lock( f_mutex );
37 std::unique_lock< std::mutex > t_lock( f_mutex );
38 reply_cache::get_instance()->set_return_code( a_code );
39 reply_cache::get_instance()->return_message() = a_message;
40 reply_cache::get_instance()->set_payload( std::move(a_payload_ptr) );
Base class for return codes.
void set_reply_cache(const return_code &a_code, const std::string &a_message, scarab::param_ptr_t a_payload_ptr)
Set the contents of the reply cache (functional access to the singleton reply_cache) ...
void set_cache(const return_code &a_code, const std::string &a_message, scarab::param_ptr_t a_payload_ptr)
Set the contents of the reply cache (thread-safe)
A singleton throw_reply object used to transfer throw_reply information to C++ from other implementat...
virtual ~reply_cache() noexcept
throw_reply & operator=(const throw_reply &a_orig)
Object that can be thrown while processing a request to send a reply.
reply_cache & operator=(const throw_reply &a_orig)