- bool recv(message*& msg, m_host_t& from, double timeout) {
- return received.pop(msg, from, timeout);
+ bool ctrl_recv(message*& msg, msg_host_t& from, double timeout) {
+ return ctrl_received.pop(msg, from, timeout);
+ }
+ bool data_recv(message*& msg, msg_host_t& from, double timeout) {
+ return data_received.pop(msg, from, timeout);