mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
First working version of SDK ChangeState
This commit is contained in:
committed by
Dennis Klein
parent
cf26dd6aa7
commit
8789664cfd
@@ -229,9 +229,9 @@ void DDSSession::SubscribeToCommands(std::function<void(const std::string& msg,
|
||||
{
|
||||
fImpl->fSession.unsubscribe(); // TODO REMOVE THIS HACK!!!!
|
||||
fImpl->fDDSCustomCmd.subscribe(cb);
|
||||
fImpl->fDDSCustomCmd.subscribeOnReply([](const std::string& reply) {
|
||||
LOG(debug) << reply;
|
||||
});
|
||||
// fImpl->fDDSCustomCmd.subscribeOnReply([](const std::string& reply) {
|
||||
// LOG(debug) << reply;
|
||||
// });
|
||||
}
|
||||
|
||||
void DDSSession::SendCommand(const std::string& cmd) { fImpl->fDDSCustomCmd.send(cmd, ""); }
|
||||
|
Reference in New Issue
Block a user