DDS  ver. 1.6
SMAgentChannel.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__CSMAgentChannel__
7 #define __DDS__CSMAgentChannel__
8 // DDS
9 #include "BaseSMChannelImpl.h"
10 
11 namespace dds
12 {
13  namespace internal_api
14  {
15  class CSMAgentChannel : public protocol_api::CBaseSMChannelImpl<CSMAgentChannel>
16  {
17  protected:
18  CSMAgentChannel(const std::string& _inputName, const std::string& _outputName)
19  : CBaseSMChannelImpl<CSMAgentChannel>(_inputName, _outputName)
20  {
21  }
22 
23  public:
25  SM_MESSAGE_HANDLER(cmdCUSTOM_CMD, on_cmdCUSTOM_CMD)
31 
32  private:
39  };
40  }
41 }
42 #endif
CBaseSMChannelImpl(const std::string &_inputName, const std::string &_outputName)
Definition: BaseSMChannelImpl.h:94
on_cmdCUSTOM_CMD on_cmdUPDATE_KEY_ERROR on_cmdSIMPLE_MSG END_SM_MSG_MAP() private bool on_cmdUPDATE_KEY(protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY >::ptr_t _attachment)
Definition: SMAgentChannel.cpp:15
on_cmdCUSTOM_CMD SM_MESSAGE_HANDLER(cmdUPDATE_KEY, on_cmdUPDATE_KEY) SM_MESSAGE_HANDLER(cmdUPDATE_KEY_ERROR
bool on_cmdUPDATE_KEY_ERROR(protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY_ERROR >::ptr_t _attachment)
Definition: SMAgentChannel.cpp:22
bool on_cmdDELETE_KEY(protocol_api::SCommandAttachmentImpl< protocol_api::cmdDELETE_KEY >::ptr_t _attachment)
Definition: SMAgentChannel.cpp:30
Definition: SMAgentChannel.h:15
std::shared_ptr< SEmptyCmd > ptr_t
Definition: CommandAttachmentImpl.h:65
#define END_SM_MSG_MAP()
Definition: BaseSMChannelImpl.h:67
Definition: ProtocolCommands.h:32
Definition: BaseSMChannelImpl.h:83
Definition: dds-agent/src/AgentConnectionManager.h:16
Definition: ProtocolCommands.h:65
Definition: ProtocolCommands.h:53
BEGIN_SM_MSG_MAP(CSMAgentChannel) SM_MESSAGE_HANDLER(cmdCUSTOM_CMD
Definition: ProtocolCommands.h:54
bool on_cmdSIMPLE_MSG(protocol_api::SCommandAttachmentImpl< protocol_api::cmdSIMPLE_MSG >::ptr_t _attachment)
Definition: SMAgentChannel.cpp:44
CSMAgentChannel(const std::string &_inputName, const std::string &_outputName)
Definition: SMAgentChannel.h:18
Definition: ProtocolCommands.h:55