mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-28 20:52:22 +02:00
Rename "writing" to "saving" from ZmqRecvModule
The module should not have a notion of writing - but saving/discarding flag is very useful.
This commit is contained in:
@@ -34,8 +34,8 @@ TEST(ZmqRecvModule, basic_interaction)
|
||||
uint8_t n_receivers = 4;
|
||||
zmq_recv_module.start_recv("tcp://127.0.0.1:11000", n_receivers);
|
||||
|
||||
zmq_recv_module.start_writing();
|
||||
zmq_recv_module.stop_writing();
|
||||
zmq_recv_module.start_saving();
|
||||
zmq_recv_module.stop_saving();
|
||||
|
||||
zmq_recv_module.stop_recv();
|
||||
}
|
||||
@@ -48,7 +48,7 @@ TEST(ZmqRecvModule, simple_recv)
|
||||
RingBuffer ring_buffer(n_msg);
|
||||
|
||||
ZmqRecvModule zmq_recv_module(ring_buffer, {});
|
||||
zmq_recv_module.start_writing();
|
||||
zmq_recv_module.start_saving();
|
||||
zmq_recv_module.start_recv("tcp://127.0.0.1:11000", 4);
|
||||
|
||||
sender.join();
|
||||
|
||||
Reference in New Issue
Block a user