mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
SDK: Allow passing path to DDSSession::SendCommand
This commit is contained in:
parent
9544de0647
commit
f42945b3a3
|
@ -355,7 +355,7 @@ void DDSSession::UnsubscribeFromCommands()
|
||||||
fImpl->fDDSCustomCmd.unsubscribe();
|
fImpl->fDDSCustomCmd.unsubscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DDSSession::SendCommand(const std::string& cmd) { fImpl->fDDSCustomCmd.send(cmd, ""); }
|
void DDSSession::SendCommand(const std::string& cmd, const std::string& path /* = "" */) { fImpl->fDDSCustomCmd.send(cmd, path); }
|
||||||
|
|
||||||
void DDSSession::SendCommand(const std::string& cmd, DDSChannel::Id recipient)
|
void DDSSession::SendCommand(const std::string& cmd, DDSChannel::Id recipient)
|
||||||
{
|
{
|
||||||
|
|
|
@ -101,7 +101,7 @@ class DDSSession
|
||||||
void StartDDSService();
|
void StartDDSService();
|
||||||
void SubscribeToCommands(std::function<void(const std::string& msg, const std::string& condition, uint64_t senderId)>);
|
void SubscribeToCommands(std::function<void(const std::string& msg, const std::string& condition, uint64_t senderId)>);
|
||||||
void UnsubscribeFromCommands();
|
void UnsubscribeFromCommands();
|
||||||
void SendCommand(const std::string&);
|
void SendCommand(const std::string&, const std::string& = "");
|
||||||
void SendCommand(const std::string&, DDSChannel::Id);
|
void SendCommand(const std::string&, DDSChannel::Id);
|
||||||
auto UpdateChannelToTaskAssociation(DDSChannel::Id, DDSTask::Id) -> void;
|
auto UpdateChannelToTaskAssociation(DDSChannel::Id, DDSTask::Id) -> void;
|
||||||
auto GetTaskId(DDSChannel::Id) const -> DDSTask::Id;
|
auto GetTaskId(DDSChannel::Id) const -> DDSTask::Id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user