FairMQ/fairmq/examples/req-rep
Alexey Rybalchenko 7fda980710 Update FairMQStateMachine & introduce FairMQChannels
Organize sockets as a map of vectors of FairMQChannels.

Update FairMQStateMachine by removing SETTINGINPUT, SETTINGOUTPUT,
BIND and CONNECT states and by adding INITIALIZING_TASK, RESETTING_TASK
and RESETTING_DEVICE states. Run states functions in their own thread.
2015-06-16 09:29:53 +02:00
..
FairMQExampleClient.cxx Update FairMQStateMachine & introduce FairMQChannels 2015-06-16 09:29:53 +02:00
FairMQExampleClient.h Update FairMQStateMachine & introduce FairMQChannels 2015-06-16 09:29:53 +02:00
FairMQExampleServer.cxx Update FairMQStateMachine & introduce FairMQChannels 2015-06-16 09:29:53 +02:00
FairMQExampleServer.h Add REQ-REP zmq/nn sockets to FairMQ together with a little example program. 2014-10-10 18:41:36 +02:00
README.md Add REQ-REP zmq/nn sockets to FairMQ together with a little example program. 2014-10-10 18:41:36 +02:00
runExampleClient.cxx Update FairMQStateMachine & introduce FairMQChannels 2015-06-16 09:29:53 +02:00
runExampleServer.cxx Update FairMQStateMachine & introduce FairMQChannels 2015-06-16 09:29:53 +02:00

FairMQ Request-Reply Example

This example demonstrates usage of the request-reply pattern together with FairMQ. Two processes - example_client and example_server communicate. The client sends a text string and the server respondes by returning the string back to the client. The communication happens over a single REP-REP socket. Works both with ZeroMQ and with nanomsg transport.