1 #ifndef DRIPLINE_AMQP_RELAYER_HH_
2 #define DRIPLINE_AMQP_RELAYER_HH_
8 #include "cancelable.hh"
9 #include "concurrent_queue.hh"
11 #include <condition_variable>
40 relayer(
const scarab::param_node& a_config,
const scarab::authentication& a_auth );
54 void execute_relayer();
100 void do_cancellation(
int a_code );
107 typedef std::shared_ptr< message_and_reply >
mar_ptr;
109 mutable scarab::concurrent_queue< mar_ptr >
f_queue;
Basic AMQP interactions, including sending messages and interacting with AMQP channels.
A receiver is able to collect Dripline message chunks and reassemble them into a complete Dripline me...
Asynchronous message sending.
virtual ~relayer()=default
std::shared_ptr< message_and_reply > mar_ptr
relayer & operator=(const relayer &)=delete
std::shared_ptr< wait_for_send_pkg > wait_for_send_pkg_ptr
relayer(relayer &&)=default
scarab::concurrent_queue< mar_ptr > f_queue
relayer(const relayer &)=delete
std::shared_ptr< msg_alert > alert_ptr_t
std::shared_ptr< message > message_ptr_t
std::shared_ptr< sent_msg_pkg > sent_msg_pkg_ptr
std::shared_ptr< msg_reply > reply_ptr_t
std::shared_ptr< msg_request > request_ptr_t
wait_for_send_pkg_ptr f_wait_for_send_pkg
Extended sent-message package that adds thread synchronization objects.
sent_msg_pkg_ptr f_sent_msg_pkg_ptr
std::condition_variable f_condition_var