SNode.C
Loading...
Searching...
No Matches
iot::mqtt_fast::packets::Pingresp Class Reference

#include <Pingresp.h>

Inheritance diagram for iot::mqtt_fast::packets::Pingresp:
Collaboration diagram for iot::mqtt_fast::packets::Pingresp:

Public Member Functions

 Pingresp ()
 
 Pingresp (iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
 
- Public Member Functions inherited from iot::mqtt_fast::ControlPacket
 ControlPacket (uint8_t type, uint8_t reserved=0)
 
 ControlPacket (iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
 
 ControlPacket (const ControlPacket &)=delete
 
 ControlPacket (ControlPacket &&)=delete
 
ControlPacketoperator= (const ControlPacket &)=delete
 
ControlPacketoperator= (ControlPacket &&)=delete
 
uint8_t getType () const
 
uint8_t getReserved () const
 
uint64_t getRemainingLength () const
 
std::vector< char > getPacket ()
 
bool isError () const
 

Additional Inherited Members

- Protected Member Functions inherited from iot::mqtt_fast::ControlPacket
std::vector< char > & getValue ()
 
uint8_t getInt8 ()
 
uint16_t getInt16 ()
 
uint32_t getInt32 ()
 
uint64_t getInt64 ()
 
uint32_t getIntV ()
 
std::string getString ()
 
std::string getStringRaw ()
 
std::list< uint8_t > getUint8ListRaw ()
 
void putInt8 (uint8_t value)
 
void putInt16 (uint16_t value)
 
void putInt32 (uint32_t value)
 
void putInt64 (uint64_t value)
 
void putIntV (uint32_t value)
 
void putString (const std::string &value)
 
void putStringRaw (const std::string &value)
 
void putUint8ListRaw (const std::list< uint8_t > &value)
 
bool isError ()
 
- Protected Attributes inherited from iot::mqtt_fast::ControlPacket
bool error = false
 

Detailed Description

Definition at line 37 of file Pingresp.h.

Constructor & Destructor Documentation

◆ Pingresp() [1/2]

iot::mqtt_fast::packets::Pingresp::Pingresp ( )

Definition at line 28 of file Pingresp.cpp.

30 // no V-Header
31 // no Payload
32 }
#define MQTT_PINGRESP
Definition Pingresp.h:33

References iot::mqtt_fast::ControlPacket::ControlPacket().

Here is the call graph for this function:

◆ Pingresp() [2/2]

iot::mqtt_fast::packets::Pingresp::Pingresp ( iot::mqtt_fast::ControlPacketFactory & controlPacketFactory)
explicit

Definition at line 34 of file Pingresp.cpp.

35 : iot::mqtt_fast::ControlPacket(controlPacketFactory) {
36 // no V-Header
37 // no Payload
38
39 error = isError();
40 }

References iot::mqtt_fast::ControlPacket::ControlPacket(), and iot::mqtt_fast::ControlPacket::error.

Here is the call graph for this function:

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