ZMQ receives acting like assembler

This commit is contained in:
2021-07-06 14:55:01 +02:00
parent abcaa030ca
commit c717c9c9cf
7 changed files with 241 additions and 12 deletions
+1 -2
View File
@@ -28,8 +28,7 @@ int main (int argc, char *argv[])
auto ctx = zmq_ctx_new();
zmq_ctx_set(ctx, ZMQ_IO_THREADS, ASSEMBLER_ZMQ_IO_THREADS);
auto sender = BufferUtils::bind_socket(
ctx, config.detector_name, stream_name);
auto sender = BufferUtils::bind_socket(ctx, config.detector_name, stream_name);
ZmqPulseSyncReceiver receiver(ctx, config.detector_name, config.n_modules);
RamBuffer ram_buffer(config.detector_name, config.n_modules);