mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Add FairMQProgOptions for configuring MQDevices
This commit is contained in:
60
fairmq/options/ProgOptionTest/macro/testJSON.json
Normal file
60
fairmq/options/ProgOptionTest/macro/testJSON.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"fairMQOptions": {
|
||||
"device":
|
||||
{
|
||||
"id": "merger1",
|
||||
"channel":
|
||||
{
|
||||
"name": "two_inputs_channel",
|
||||
"socket":
|
||||
{
|
||||
"type": "pull",
|
||||
"address": "tcp://*:5569",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "1"
|
||||
},
|
||||
"socket":
|
||||
{
|
||||
"type": "pull",
|
||||
"method": "bind",
|
||||
"address": "tcp://*:5570",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "1"
|
||||
}
|
||||
|
||||
},
|
||||
"channel":
|
||||
{
|
||||
"name": "one_output_channel",
|
||||
"socket": {
|
||||
"type": "push",
|
||||
"method": "connect",
|
||||
"address": "tcp://*:5571",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "1"
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"device":
|
||||
{
|
||||
"id": "sink1",
|
||||
"channel": {
|
||||
"name": "one_input",
|
||||
"socket": {
|
||||
"name": "input1",
|
||||
"type": "pull",
|
||||
"method": "bind",
|
||||
"address": "tcp://localhost:5571",
|
||||
"sndBufSize": "1000",
|
||||
"rcvBufSize": "1000",
|
||||
"rateLogging": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user