94 TLOG_DEBUG(25) <<
"Received " << response.data.size() <<
" bytes. Dispatching to callback.";
101 }
catch (ipm::ReceiveTimeoutExpired
const& tmo) {
std::function< void(Receiver::Response &)> m_callback
Receiver * m_receiver_ptr
void set_callback(std::function< void(Receiver::Response &)> callback)
std::mutex m_callback_mutex
virtual ~CallbackAdapter() noexcept
std::unique_ptr< std::thread > m_thread
std::atomic< bool > m_is_listening
void set_receiver(Receiver *receiver_ptr)
static constexpr duration_t s_no_block
Response receive(const duration_t &timeout, message_size_t num_bytes=s_any_size, bool no_tmoexcept_mode=false)
#define TLOG_DEBUG(lvl,...)
An ERS Error indicating that an exception was thrown from ZMQ while performing an operation.