Add FairMQ tests (PUB-SUB, PUSH-PULL, REQ-REP).

This commit is contained in:
Alexey Rybalchenko
2015-09-04 17:04:52 +02:00
committed by Mohammad Al-Turany
parent fbf7dbf2ba
commit f13bb5995d
40 changed files with 921 additions and 47 deletions

View File

@@ -12,8 +12,8 @@
* @author A. Rybalchenko
*/
#ifndef FAIRMQEXAMPLESAMPLER_H_
#define FAIRMQEXAMPLESAMPLER_H_
#ifndef FAIRMQEXAMPLE1SAMPLER_H_
#define FAIRMQEXAMPLE1SAMPLER_H_
#include <string>

View File

@@ -91,6 +91,7 @@ int main(int argc, char** argv)
client.SetTransport(transportFactory);
client.SetProperty(FairMQExample5Client::Id, "client");
client.SetProperty(FairMQExample5Client::Text, options.text);
client.SetProperty(FairMQExample5Client::NumIoThreads, 1);
FairMQChannel requestChannel("req", "connect", "tcp://localhost:5005");