mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
.. | ||
CMakeLists.txt | ||
fairmq-start-ex-1-1.sh.in | ||
README.md | ||
sampler.cxx | ||
sink.cxx | ||
test-ex-1-1.sh.in |
1-1: Sampler -> Sink
A simple topology of two devices - Sampler and Sink. Sampler sends data to Sink via the PUSH-PULL pattern.
sampler.cxx
and sink.cxx
configure and run the devices.
The executables take two command line parameters: --id
and --channel-config
. The value of --id
should be a unique identifier and the value for --channel-config
is the configuration of the communication channel. .
For this and the following example, all the commands needed to start the device are contained in the fairmq-start-ex-*.sh
script (that can also be used for starting the example).