DDS  ver. 3.4
dds-intercom-lib/src/AgentChannel.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__API__CAgentChannel__
7 #define __DDS__API__CAgentChannel__
8 // DDS
9 #include "ClientChannelImpl.h"
10 
11 namespace dds
12 {
13  namespace internal_api
14  {
15  class CAgentChannel : public protocol_api::CClientChannelImpl<CAgentChannel>
16  {
17  public:
22  END_MSG_MAP()
23 
24  void reconnectAgentWithErrorHandler(const std::function<void(const std::string&)>& callback);
25 
26  private:
28 
29  CAgentChannel(boost::asio::io_context& _service, uint64_t _protocolHeaderID = 0);
30 
31  uint16_t m_connectionAttempts;
32  };
33  } // namespace internal_api
34 } // namespace dds
35 
36 #endif /* defined(__DDS__API__CAgentChannel__) */
#define REGISTER_DEFAULT_REMOTE_ID_STRING
Definition: BaseChannelImpl.h:190
Definition: dds-intercom-lib/src/AgentChannel.h:15
Definition: ProtocolCommands.h:30
Definition: ProtocolCommands.h:33
#define END_MSG_MAP()
Definition: BaseChannelImpl.h:153
Definition: AgentConnectionManager.h:13
Definition: ProtocolCommands.h:65
Definition: BaseChannelImpl.h:40
#define MESSAGE_HANDLER_DISPATCH(msg)
Definition: BaseChannelImpl.h:134
#define BEGIN_MSG_MAP(theClass)
Definition: BaseChannelImpl.h:48