1 #ifndef LIBJMMCG_CORE_MSG_PROCESSOR_HPP
2 #define LIBJMMCG_CORE_MSG_PROCESSOR_HPP
25 template<
class ProcessingRules>
32 using proc_rules_t=ProcessingRules;
33 using msg_details_t=
typename proc_rules_t::src_msg_details_t;
40 using msg_buffer_t=
typename msg_details_t::msg_buffer_t;
54 template<
class SktT,
class LatencyTimestamps>
55 typename std::enable_if<
std::is_class<
typename LatencyTimestamps::period>::value,
bool>::
type
67 template<
class SktT,
class ClientCxn,
class LatencyTimestamps>
68 typename std::enable_if<
std::is_class<
typename LatencyTimestamps::period>::value,
bool>::
type
74 proc_rules_t processing_rules;
85 bool read_msg_into_buff(SktT &src_skt, msg_buffer_t &buff)
noexcept(
false);
88 template<
class ProcessingRules>
inline std::ostream &
89 operator<<(
std::ostream &os,
msg_processor<ProcessingRules>
const &ec)
noexcept(
false);