5 #ifndef __DDS__ConnectionManager__ 6 #define __DDS__ConnectionManager__ 16 #include <condition_variable> 21 namespace commander_cmd
24 public std::enable_shared_from_this<CConnectionManager>
39 void on_cmdGET_AGENTS_INFO(
46 void on_cmdBINARY_ATTACHMENT_RECEIVED(
53 void on_cmdTRANSPORT_TEST(
63 void on_cmdUSER_TASK_DONE(
67 void on_cmdGET_PROP_LIST(
71 void on_cmdGET_PROP_VALUES(
75 void on_cmdUPDATE_TOPOLOGY(
82 void on_cmdENABLE_STAT(
86 void on_cmdDISABLE_STAT(
101 bool _shutdownOnComplete);
102 void enableDisableStatForChannels(
bool _enable);
103 void _createWnPkg(
bool _needInlineBashScript)
const;
113 typedef std::map<uint64_t, weakChannelInfo_t> TaskIDToAgentChannelMap_t;
114 TaskIDToAgentChannelMap_t m_taskIDToAgentChannelMap;
115 std::mutex m_mapMutex;
119 std::mutex m_stopTasksMutex;
120 std::condition_variable m_stopTasksCondition;
void _start()
Definition: ConnectionManager.cpp:52
std::shared_ptr< CAgentChannel > connectionPtr_t
Definition: BaseChannelImpl.h:216
Definition: BaseEventHandlersImpl.h:48
void _stop()
Definition: ConnectionManager.cpp:73
std::shared_ptr< SEmptyCmd > ptr_t
Definition: CommandAttachmentImpl.h:66
void _createInfoFile(const std::vector< size_t > &_ports) const
Definition: ConnectionManager.cpp:215
Definition: UIChannelInfo.h:189
Definition: UIChannelInfo.h:228
Definition: ConnectionManager.h:23
std::weak_ptr< CAgentChannel > weakConnectionPtr_t
Definition: BaseChannelImpl.h:217
CConnectionManager(const SOptions_t &_options)
Definition: ConnectionManager.cpp:41
Definition: UIChannelInfo.h:278
Definition: dds-agent/src/AgentConnectionManager.h:18
void newClientCreated(CAgentChannel::connectionPtr_t _newClient)
Definition: ConnectionManager.cpp:77
Definition: Topology.h:42
Key-value manager for the DDS commander.
Definition: KeyValueManager.h:114
dds-commander's container of options
Definition: dds-commander/src/Options.h:24
Definition: SSHScheduler.h:20
void _deleteInfoFile() const
Definition: ConnectionManager.cpp:251
~CConnectionManager()
Definition: ConnectionManager.cpp:48
Base class for connection managers.
Definition: ConnectionManagerImpl.h:33
std::vector< SWeakChannelInfo > container_t
Definition: ChannelInfo.h:54
Definition: UIChannelInfo.h:319