-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
types:
idls:
- >
module cn{
module seisys {
module dds {
@topic
struct TopicMonInfo{
string uuid;
@key short domain;
@key string srcNodeId;
string srcNodeName;
@key string toNodeId;
string toNodeName;
@key string topicName;
@key long cycle;
long long updateTime;
long nCount;
long nSize;
short srcType;
};
};
};
};
systems:
dds:
type: fastdds
participant:
domain_id: 10
#partition: ["*"]
types:
- cn::seisys::dds::TopicMonInfo
websocket:
type: websocket_server
participant:
domain_id: 10
#partition: ["*"]
types:
- cn::seisys::dds::TopicMonInfo
security: none
host: 10.10.3.30
port: 18080
routes:
websocket_to_dds:
from: websocket
to: dds
dds_to_websocket:
from: dds
to: websocket
topics:
#mon_dds_to_websocket:
# {
# type: "cn::seisys::dds::TopicMonInfo",
# route: dds_to_websocket,
# remap: {
# dds: { type: "cn::seisys::dds::TopicMonInfo", topic: DataMonitor }
# }
# }
mon_websocket_to_dds: {
type: "cn::seisys::dds::TopicMonInfo",
partition: ["*"],
route: websocket_to_dds,
remap: {
dds: { type: "cn::seisys::dds::TopicMonInfo", topic: DataMonitor, partition: ["*"] }
}
}
But my c++ sub is ok. The TopicName is not matched.
Metadata
Metadata
Assignees
Labels
No labels