17 #ifndef YAMICPP_OUTGOING_MESSAGE_INFO_H_INCLUDED 18 #define YAMICPP_OUTGOING_MESSAGE_INFO_H_INCLUDED 20 #include "message_state.h" 21 #include "parameters.h" 27 #include <semaphore.h> 33 class outgoing_message;
39 class outgoing_message_dispatcher_base;
41 struct outgoing_message_info
45 std::size_t sent_bytes;
46 std::size_t total_byte_count;
47 parameters * reply_body;
48 std::vector<char> * reply_raw_buffer;
49 std::string exception_msg;
53 mutable flag completed;
58 outgoing_message * out_msg;
59 outgoing_message_dispatcher_base * message_callback;
60 bool callback_pending;
64 void process_callback(mutex * outer_mtx = NULL);
66 std::size_t ref_count;
68 void dec_ref_count(
bool disown_callback =
false);
75 #endif // YAMICPP_OUTGOING_MESSAGE_INFO_H_INCLUDED message_state
Outgoing message state.
Definition: message_state.h:24
Namespace devoted to everything related to YAMI4.
Definition: activity_statistics_monitor.cpp:27
Message was fully transmitted.
Definition: message_state.h:27