DDS  ver. 2.0
UpdateKeyErrorCmd.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 #ifndef DDS_UpdateKeyErrorCmd_h
6 #define DDS_UpdateKeyErrorCmd_h
7 // DDS
8 #include "BasicCmd.h"
9 #include "UpdateKeyCmd.h"
10 
11 namespace dds
12 {
13  namespace protocol_api
14  {
15  struct SUpdateKeyErrorCmd : public SBasicCmd<SUpdateKeyErrorCmd>
16  {
18  size_t size() const;
19  void _convertFromData(const MiscCommon::BYTEVector_t& _data);
20  void _convertToData(MiscCommon::BYTEVector_t* _data) const;
21  bool operator==(const SUpdateKeyErrorCmd& val) const;
22 
25  uint16_t m_errorCode;
26  };
27  std::ostream& operator<<(std::ostream& _stream, const SUpdateKeyErrorCmd& val);
28  bool operator!=(const SUpdateKeyErrorCmd& lhs, const SUpdateKeyErrorCmd& rhs);
29  }
30 }
31 #endif
Definition: BasicCmd.h:481
Definition: UpdateKeyCmd.h:14
size_t size() const
Definition: UpdateKeyErrorCmd.cpp:21
Definition: UpdateKeyErrorCmd.h:15
void _convertFromData(const MiscCommon::BYTEVector_t &_data)
Definition: UpdateKeyErrorCmd.cpp:31
SUpdateKeyCmd m_userCmd
Definition: UpdateKeyErrorCmd.h:24
bool operator==(const SUpdateKeyErrorCmd &val) const
Definition: UpdateKeyErrorCmd.cpp:26
SUpdateKeyErrorCmd()
Definition: UpdateKeyErrorCmd.cpp:14
Definition: dds-agent/src/AgentConnectionManager.h:18
std::ostream & operator<<(std::ostream &_stream, const SAgentsInfoCmd &_val)
Definition: AgentsInfoCmd.cpp:38
uint16_t m_errorCode
Definition: UpdateKeyErrorCmd.h:25
SUpdateKeyCmd m_serverCmd
Definition: UpdateKeyErrorCmd.h:23
bool operator!=(const SAgentsInfoCmd &_lhs, const SAgentsInfoCmd &_rhs)
Definition: AgentsInfoCmd.cpp:43
std::vector< unsigned char > BYTEVector_t
An STL vector of bytes.
Definition: def.h:127
void _convertToData(MiscCommon::BYTEVector_t *_data) const
Definition: UpdateKeyErrorCmd.cpp:43