8 #define DRIPLINE_API_EXPORTS
17 reply_cache::get_instance()->set_cache( a_code, a_message, std::move(a_payload_ptr) );
28 std::unique_lock< std::mutex > t_lock( f_mutex );
34 std::unique_lock< std::mutex > t_lock( f_mutex );
41 std::unique_lock< std::mutex > t_lock( f_mutex );
48 std::unique_lock< std::mutex > t_lock( f_mutex );
49 reply_cache::get_instance()->set_return_code( a_code );
50 reply_cache::get_instance()->return_message() = a_message;
51 reply_cache::get_instance()->set_payload( std::move(a_payload_ptr) );
A singleton throw_reply object used to transfer throw_reply information to C++ from other implementat...
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)
reply_cache & operator=(const throw_reply &a_orig)
Object that can be thrown while processing a request to send a reply.
throw_reply & operator=(const throw_reply &a_orig)
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)
Base class for return codes.