client-cpp  0.10.0
kaa::DisconnectMessage Class Reference

#include <DisconnectMessage.hpp>

+ Inheritance diagram for kaa::DisconnectMessage:
+ Collaboration diagram for kaa::DisconnectMessage:

Public Member Functions

 DisconnectMessage (DisconnectReason reason)
 
 DisconnectMessage (const char *payload, std::uint16_t size)
 
 ~DisconnectMessage ()
 
DisconnectReason getReason () const
 
std::string getMessage () const
 
const std::vector< std::uint8_t > & getRawMessage () const
 
- Public Member Functions inherited from kaa::IKaaTcpRequest
virtual ~IKaaTcpRequest ()
 

Static Public Member Functions

static std::string reasonToString (DisconnectReason reason)
 

Detailed Description

Definition at line 36 of file DisconnectMessage.hpp.

Constructor & Destructor Documentation

kaa::DisconnectMessage::DisconnectMessage ( DisconnectReason  reason)
inline

Definition at line 55 of file DisconnectMessage.hpp.

kaa::DisconnectMessage::DisconnectMessage ( const char *  payload,
std::uint16_t  size 
)
inline

Definition at line 66 of file DisconnectMessage.hpp.

kaa::DisconnectMessage::~DisconnectMessage ( )
inline

Definition at line 71 of file DisconnectMessage.hpp.

Member Function Documentation

std::string kaa::DisconnectMessage::getMessage ( ) const
inline

Definition at line 74 of file DisconnectMessage.hpp.

const std::vector<std::uint8_t>& kaa::DisconnectMessage::getRawMessage ( ) const
inlinevirtual

Implements kaa::IKaaTcpRequest.

Definition at line 76 of file DisconnectMessage.hpp.

DisconnectReason kaa::DisconnectMessage::getReason ( ) const
inline

Definition at line 73 of file DisconnectMessage.hpp.

static std::string kaa::DisconnectMessage::reasonToString ( DisconnectReason  reason)
inlinestatic

Definition at line 39 of file DisconnectMessage.hpp.


The documentation for this class was generated from the following file: