FairMQ/examples/MQ/4-copypush
Alexey Rybalchenko 6ab3b0ebc0 Update multi-part features (nanomsg) and various fixes
- 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.
2018-05-02 16:12:57 +02:00
..
CMakeLists.txt Add FlatBuffers & MessagePack examples 2018-05-02 16:12:57 +02:00
ex4-copypush.json FairMQ: Extend Multipart and messaging API 2018-05-02 16:12:57 +02:00
FairMQExample4Sampler.cxx Update multi-part features (nanomsg) and various fixes 2018-05-02 16:12:57 +02:00
FairMQExample4Sampler.h Rename /example to /examples and move MQ examples in it 2018-05-02 16:12:57 +02:00
FairMQExample4Sink.cxx FairMQ: Extend Multipart and messaging API 2018-05-02 16:12:57 +02:00
FairMQExample4Sink.h Rename /example to /examples and move MQ examples in it 2018-05-02 16:12:57 +02:00
README.md Rename /example to /examples and move MQ examples in it 2018-05-02 16:12:57 +02:00
runExample4Sampler.cxx Remove compile time transport interface switch 2018-05-02 16:12:57 +02:00
runExample4Sink.cxx Remove compile time transport interface switch 2018-05-02 16:12:57 +02:00

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.