mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
- Implement nanomsg multipart with MessagePack. - Use the MessagePack from FairSoft and handle not found case. - Update splitter, merger and proxy devices to handle multi-part. - Let FairMQParts.At() return pointer reference (can be used for moving). - Add missing const specifier in the message interface. - Add transmit kernel size setting to channels (ZMQ_SNDBUF). - Remove FairMQBuffer device. - Remove old multi-part methods from Tutorial3 example (to be replaced with Parts API). - Make callback mandatory for newMsg(data, size, callback). - Add missing <vector> include in FairMQSocket. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
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.