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 bool on_cmdGET_AGENTS_INFO(
44 bool on_cmdBINARY_ATTACHMENT_RECEIVED(
49 bool on_cmdTRANSPORT_TEST(
56 bool on_cmdUSER_TASK_DONE(
59 bool on_cmdGET_PROP_LIST(
62 bool on_cmdGET_PROP_VALUES(
65 bool on_cmdUPDATE_TOPOLOGY(
70 bool on_cmdENABLE_STAT(
73 bool on_cmdDISABLE_STAT(
85 bool _shutdownOnComplete);
86 void enableDisableStatForChannels(
bool _enable);
87 void _createWnPkg(
bool _needInlineBashScript)
const;
97 typedef std::map<uint64_t, CAgentChannel::weakConnectionPtr_t> TaskIDToAgentChannelMap_t;
98 TaskIDToAgentChannelMap_t m_taskIDToAgentChannelMap;
99 std::mutex m_mapMutex;
103 std::mutex m_stopTasksMutex;
104 std::condition_variable m_stopTasksCondition;
void _start()
Definition: ConnectionManager.cpp:51
std::shared_ptr< CAgentChannel > connectionPtr_t
Definition: BaseChannelImpl.h:192
void _stop()
Definition: ConnectionManager.cpp:72
std::shared_ptr< SEmptyCmd > ptr_t
Definition: CommandAttachmentImpl.h:65
void _createInfoFile(const std::vector< size_t > &_ports) const
Definition: ConnectionManager.cpp:230
Definition: UIChannelInfo.h:185
Definition: UIChannelInfo.h:222
Definition: ConnectionManager.h:23
std::weak_ptr< CAgentChannel > weakConnectionPtr_t
Definition: BaseChannelImpl.h:193
CConnectionManager(const SOptions_t &_options)
Definition: ConnectionManager.cpp:40
Definition: UIChannelInfo.h:270
Definition: dds-agent/src/AgentConnectionManager.h:16
void newClientCreated(CAgentChannel::connectionPtr_t _newClient)
Definition: ConnectionManager.cpp:76
Definition: Topology.h:42
Key-value manager for the DDS commander.
Definition: KeyValueManager.h:105
dds-commander's container of options
Definition: dds-commander/src/Options.h:24
std::vector< weakConnectionPtr_t > weakConnectionPtrVector_t
Definition: BaseChannelImpl.h:195
Definition: SSHScheduler.h:19
void _deleteInfoFile() const
Definition: ConnectionManager.cpp:266
~CConnectionManager()
Definition: ConnectionManager.cpp:47
Base class for connection managers.
Definition: ConnectionManagerImpl.h:32
Definition: UIChannelInfo.h:309