mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-17 02:21:47 +00:00
Update device configuration
- Move general config files out of example directory to fairmq/run. - Use FairMQProgOptions for MQ example 5. - Add SendPartAsync() for non-blocking send of a message part.
This commit is contained in:
41
examples/MQ/5-req-rep/ex5-req-rep.json
Normal file
41
examples/MQ/5-req-rep/ex5-req-rep.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"fairMQOptions":
|
||||
{
|
||||
"device":
|
||||
{
|
||||
"id": "client",
|
||||
"channel":
|
||||
{
|
||||
"name": "data",
|
||||
"socket":
|
||||
{
|
||||
"type": "req",
|
||||
"method": "connect",
|
||||
"address": "tcp://localhost:5005",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"device":
|
||||
{
|
||||
"id": "server",
|
||||
"channel":
|
||||
{
|
||||
"name": "data",
|
||||
"socket":
|
||||
{
|
||||
"type": "rep",
|
||||
"method": "bind",
|
||||
"address": "tcp://*:5005",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user