mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
.. | ||
ex4-copypush.json | ||
FairMQExample4Sampler.cxx | ||
FairMQExample4Sampler.h | ||
FairMQExample4Sink.cxx | ||
FairMQExample4Sink.h | ||
README.md | ||
runExample4Sampler.cxx | ||
runExample4Sink.cxx |
Example 4: Copy & Push
A topology consisting of one Sampler and two Sinks. The Sampler uses the Copy
method to send the same data to both sinks with the PUSH-PULL pattern. In contrary to the PUB-PATTERN pattern, this ensures that all receivers are connected and no data is lost, but requires additional sockets.