SNode.C
Loading...
Searching...
No Matches
iot::mqtt_fast::SocketContext Class Referenceabstract

#include <SocketContext.h>

Inheritance diagram for iot::mqtt_fast::SocketContext:
Collaboration diagram for iot::mqtt_fast::SocketContext:

Public Member Functions

 SocketContext (core::socket::stream::SocketConnection *socketConnection)
 
void sendConnect (const std::string &clientId)
 
void sendConnack (uint8_t returnCode, uint8_t flags)
 
void sendPublish (const std::string &topic, const std::string &message, bool dup=false, uint8_t qoS=0, bool retain=false)
 
void sendPuback (uint16_t packetIdentifier)
 
void sendPubrec (uint16_t packetIdentifier)
 
void sendPubrel (uint16_t packetIdentifier)
 
void sendPubcomp (uint16_t packetIdentifier)
 
void sendSubscribe (std::list< Topic > &topics)
 
void sendSuback (uint16_t packetIdentifier, const std::list< uint8_t > &returnCodes)
 
void sendUnsubscribe (const std::list< std::string > &topics)
 
void sendUnsuback (uint16_t packetIdentifier)
 
void sendPingreq ()
 
void sendPingresp ()
 
void sendDisconnect ()
 
- Public Member Functions inherited from core::socket::stream::SocketContext
 SocketContext (core::socket::stream::SocketConnection *socketConnection)
 
void sendToPeer (const char *chunk, std::size_t chunkLen) const final
 
bool streamToPeer (core::pipe::Source *source) const
 
void streamEof ()
 
std::size_t readFromPeer (char *chunk, std::size_t chunklen) const final
 
void setTimeout (const utils::Timeval &timeout) final
 
void shutdownRead ()
 
void shutdownWrite (bool forceClose=false)
 
void close () override
 
SocketConnectiongetSocketConnection () const
 
virtual void switchSocketContext (SocketContext *newSocketContext)
 
void sendToPeer (const std::string &data) const
 
virtual void sendToPeer (const char *chunk, std::size_t chunkLen) const=0
 
- Public Member Functions inherited from core::socket::SocketContext
 SocketContext (const SocketContext &)=delete
 
 SocketContext (SocketContext &&)=delete
 
SocketContextoperator= (const SocketContext &)=delete
 
SocketContextoperator= (SocketContext &&)=delete
 
void sendToPeer (const std::string &data) const
 

Private Member Functions

virtual void onConnect (const iot::mqtt_fast::packets::Connect &connect)=0
 
virtual void onConnack (const iot::mqtt_fast::packets::Connack &connack)=0
 
virtual void onPublish (const iot::mqtt_fast::packets::Publish &publish)=0
 
virtual void onPuback (const iot::mqtt_fast::packets::Puback &puback)=0
 
virtual void onPubrec (const iot::mqtt_fast::packets::Pubrec &pubrec)=0
 
virtual void onPubrel (const iot::mqtt_fast::packets::Pubrel &pubrel)=0
 
virtual void onPubcomp (const iot::mqtt_fast::packets::Pubcomp &pubcomp)=0
 
virtual void onSubscribe (const iot::mqtt_fast::packets::Subscribe &subscribe)=0
 
virtual void onSuback (const iot::mqtt_fast::packets::Suback &suback)=0
 
virtual void onUnsubscribe (const iot::mqtt_fast::packets::Unsubscribe &unsubscribe)=0
 
virtual void onUnsuback (const iot::mqtt_fast::packets::Unsuback &unsuback)=0
 
virtual void onPingreq (const iot::mqtt_fast::packets::Pingreq &pingreq)=0
 
virtual void onPingresp (const iot::mqtt_fast::packets::Pingresp &pingresp)=0
 
virtual void onDisconnect (const iot::mqtt_fast::packets::Disconnect &disconnect)=0
 
std::size_t onReceivedFromPeer () final
 
void send (iot::mqtt_fast::ControlPacket &&controlPacket) const
 
void send (iot::mqtt_fast::ControlPacket &controlPacket) const
 
void send (std::vector< char > &&data) const
 
uint16_t getPacketIdentifier ()
 

Static Private Member Functions

static void printData (const std::vector< char > &data)
 

Private Attributes

iot::mqtt_fast::ControlPacketFactory controlPacketFactory
 
uint16_t _packetIdentifier = 0
 

Additional Inherited Members

- Protected Member Functions inherited from core::socket::stream::SocketContext
void onWriteError (int errnum) override
 
void onReadError (int errnum) override
 
- Protected Member Functions inherited from core::socket::SocketContext
 SocketContext ()=default
 
virtual ~SocketContext ()
 
virtual bool onSignal (int sig)=0
 

Detailed Description

Definition at line 83 of file SocketContext.h.

Constructor & Destructor Documentation

◆ SocketContext()

iot::mqtt_fast::SocketContext::SocketContext ( core::socket::stream::SocketConnection socketConnection)
explicit

Definition at line 59 of file SocketContext.cpp.

61 , controlPacketFactory(this) {
62 }
core::socket::stream::SocketConnection * socketConnection
iot::mqtt_fast::ControlPacketFactory controlPacketFactory

References iot::mqtt_fast::ControlPacketFactory::ControlPacketFactory(), controlPacketFactory, and core::socket::stream::SocketContext::SocketContext().

Here is the call graph for this function:

Member Function Documentation

◆ getPacketIdentifier()

uint16_t iot::mqtt_fast::SocketContext::getPacketIdentifier ( )
inlineprivate

Definition at line 125 of file SocketContext.h.

125 {
127
128 if (_packetIdentifier == 0) {
130 }
131
132 return _packetIdentifier;
133 }

References _packetIdentifier.

Referenced by sendPublish(), sendSubscribe(), and sendUnsubscribe().

Here is the caller graph for this function:

◆ onConnack()

virtual void iot::mqtt_fast::SocketContext::onConnack ( const iot::mqtt_fast::packets::Connack connack)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onConnect()

virtual void iot::mqtt_fast::SocketContext::onConnect ( const iot::mqtt_fast::packets::Connect connect)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onDisconnect()

virtual void iot::mqtt_fast::SocketContext::onDisconnect ( const iot::mqtt_fast::packets::Disconnect disconnect)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPingreq()

virtual void iot::mqtt_fast::SocketContext::onPingreq ( const iot::mqtt_fast::packets::Pingreq pingreq)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPingresp()

virtual void iot::mqtt_fast::SocketContext::onPingresp ( const iot::mqtt_fast::packets::Pingresp pingresp)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPuback()

virtual void iot::mqtt_fast::SocketContext::onPuback ( const iot::mqtt_fast::packets::Puback puback)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPubcomp()

virtual void iot::mqtt_fast::SocketContext::onPubcomp ( const iot::mqtt_fast::packets::Pubcomp pubcomp)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPublish()

virtual void iot::mqtt_fast::SocketContext::onPublish ( const iot::mqtt_fast::packets::Publish publish)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPubrec()

virtual void iot::mqtt_fast::SocketContext::onPubrec ( const iot::mqtt_fast::packets::Pubrec pubrec)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onPubrel()

virtual void iot::mqtt_fast::SocketContext::onPubrel ( const iot::mqtt_fast::packets::Pubrel pubrel)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onReceivedFromPeer()

std::size_t iot::mqtt_fast::SocketContext::onReceivedFromPeer ( )
finalprivatevirtual

Implements core::socket::SocketContext.

Definition at line 162 of file SocketContext.cpp.

162 {
163 const std::size_t consumed = controlPacketFactory.construct();
164
166 LOG(ERROR) << "MQTT (fast): SocketContext: Error during ControlPacket construction";
167 close();
168 } else if (controlPacketFactory.isComplete()) {
169 LOG(DEBUG) << "MQTT (fast): ======================================================";
170 LOG(DEBUG) << "MQTT (fast): PacketType: " << static_cast<uint16_t>(controlPacketFactory.getPacketType());
171 LOG(DEBUG) << "MQTT (fast): PacketFlags: " << static_cast<uint16_t>(controlPacketFactory.getPacketFlags());
172 LOG(DEBUG) << "MQTT (fast): RemainingLength: " << static_cast<uint16_t>(controlPacketFactory.getRemainingLength());
173
175
177 case MQTT_CONNECT:
179 break;
180 case MQTT_CONNACK:
182 break;
183 case MQTT_PUBLISH:
185 break;
186 case MQTT_PUBACK:
188 break;
189 case MQTT_PUBREC:
191 break;
192 case MQTT_PUBREL:
194 break;
195 case MQTT_PUBCOMP:
197 break;
198 case MQTT_SUBSCRIBE:
200 break;
201 case MQTT_SUBACK:
203 break;
204 case MQTT_UNSUBSCRIBE:
206 break;
207 case MQTT_UNSUBACK:
209 break;
210 case MQTT_PINGREQ:
212 break;
213 case MQTT_PINGRESP:
215 break;
216 case MQTT_DISCONNECT:
218 break;
219 default:
220 close();
221 break;
222 }
223
225 }
226
227 return consumed;
228 }
iot::mqtt_fast::types::Binary & getPacket()
virtual void onPubrel(const iot::mqtt_fast::packets::Pubrel &pubrel)=0
virtual void onSuback(const iot::mqtt_fast::packets::Suback &suback)=0
virtual void onPingresp(const iot::mqtt_fast::packets::Pingresp &pingresp)=0
virtual void onPubcomp(const iot::mqtt_fast::packets::Pubcomp &pubcomp)=0
virtual void onDisconnect(const iot::mqtt_fast::packets::Disconnect &disconnect)=0
virtual void onConnect(const iot::mqtt_fast::packets::Connect &connect)=0
virtual void onPuback(const iot::mqtt_fast::packets::Puback &puback)=0
virtual void onUnsuback(const iot::mqtt_fast::packets::Unsuback &unsuback)=0
virtual void onSubscribe(const iot::mqtt_fast::packets::Subscribe &subscribe)=0
virtual void onConnack(const iot::mqtt_fast::packets::Connack &connack)=0
static void printData(const std::vector< char > &data)
virtual void onUnsubscribe(const iot::mqtt_fast::packets::Unsubscribe &unsubscribe)=0
virtual void onPubrec(const iot::mqtt_fast::packets::Pubrec &pubrec)=0
virtual void onPublish(const iot::mqtt_fast::packets::Publish &publish)=0
virtual void onPingreq(const iot::mqtt_fast::packets::Pingreq &pingreq)=0
std::vector< char > & getValue()
Definition Binary.cpp:76
#define MQTT_CONNACK
Definition Connack.h:57
#define MQTT_CONNECT
Definition Connect.h:58
#define MQTT_DISCONNECT
Definition Disconnect.h:55
#define MQTT_PINGREQ
Definition Pingreq.h:55
#define MQTT_PINGRESP
Definition Pingresp.h:55
#define MQTT_PUBACK
Definition Puback.h:57
#define MQTT_PUBCOMP
Definition Pubcomp.h:57
#define MQTT_PUBLISH
Definition Publish.h:58
#define MQTT_PUBREC
Definition Pubrec.h:57
#define MQTT_PUBREL
Definition Pubrel.h:57
#define MQTT_SUBACK
Definition Suback.h:58
#define MQTT_SUBSCRIBE
Definition Subscribe.h:59
#define MQTT_UNSUBACK
Definition Unsuback.h:57
#define MQTT_UNSUBSCRIBE
Definition Unsubscribe.h:59

References core::socket::stream::SocketContext::close(), iot::mqtt_fast::packets::Connack::Connack(), iot::mqtt_fast::packets::Connect::Connect(), iot::mqtt_fast::ControlPacketFactory::construct(), controlPacketFactory, iot::mqtt_fast::packets::Disconnect::Disconnect(), iot::mqtt_fast::ControlPacketFactory::getPacket(), iot::mqtt_fast::ControlPacketFactory::getPacketFlags(), iot::mqtt_fast::ControlPacketFactory::getPacketType(), iot::mqtt_fast::ControlPacketFactory::getRemainingLength(), iot::mqtt_fast::types::Binary::getValue(), iot::mqtt_fast::ControlPacketFactory::isComplete(), iot::mqtt_fast::ControlPacketFactory::isError(), onConnack(), onConnect(), onDisconnect(), onPingreq(), onPingresp(), onPuback(), onPubcomp(), onPublish(), onPubrec(), onPubrel(), onSuback(), onSubscribe(), onUnsuback(), onUnsubscribe(), iot::mqtt_fast::packets::Pingreq::Pingreq(), iot::mqtt_fast::packets::Pingresp::Pingresp(), printData(), iot::mqtt_fast::packets::Puback::Puback(), iot::mqtt_fast::packets::Pubcomp::Pubcomp(), iot::mqtt_fast::packets::Publish::Publish(), iot::mqtt_fast::packets::Pubrec::Pubrec(), iot::mqtt_fast::packets::Pubrel::Pubrel(), iot::mqtt_fast::ControlPacketFactory::reset(), iot::mqtt_fast::packets::Suback::Suback(), iot::mqtt_fast::packets::Subscribe::Subscribe(), iot::mqtt_fast::packets::Unsuback::Unsuback(), and iot::mqtt_fast::packets::Unsubscribe::Unsubscribe().

Here is the call graph for this function:

◆ onSuback()

virtual void iot::mqtt_fast::SocketContext::onSuback ( const iot::mqtt_fast::packets::Suback suback)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onSubscribe()

virtual void iot::mqtt_fast::SocketContext::onSubscribe ( const iot::mqtt_fast::packets::Subscribe subscribe)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onUnsuback()

virtual void iot::mqtt_fast::SocketContext::onUnsuback ( const iot::mqtt_fast::packets::Unsuback unsuback)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ onUnsubscribe()

virtual void iot::mqtt_fast::SocketContext::onUnsubscribe ( const iot::mqtt_fast::packets::Unsubscribe unsubscribe)
privatepure virtual

Referenced by onReceivedFromPeer().

Here is the caller graph for this function:

◆ printData()

void iot::mqtt_fast::SocketContext::printData ( const std::vector< char > &  data)
staticprivate

Definition at line 243 of file SocketContext.cpp.

243 {
244 std::stringstream ss;
245
246 ss << "Data: ";
247 unsigned long i = 0;
248 for (char const ch : data) {
249 if (i != 0 && i % 8 == 0 && i + 1 != data.size()) {
250 ss << std::endl;
251 ss << " ";
252 }
253 ++i;
254 ss << "0x" << std::hex << std::setfill('0') << std::setw(2) << static_cast<uint16_t>(static_cast<uint8_t>(ch))
255 << " "; // << " | ";
256 }
257
258 LOG(DEBUG) << ss.str();
259 }

Referenced by onReceivedFromPeer(), and send().

Here is the caller graph for this function:

◆ send() [1/3]

void iot::mqtt_fast::SocketContext::send ( iot::mqtt_fast::ControlPacket &&  controlPacket) const
private

Definition at line 230 of file SocketContext.cpp.

230 {
231 send(controlPacket.getPacket());
232 }
std::vector< char > getPacket()
void send(iot::mqtt_fast::ControlPacket &&controlPacket) const

References iot::mqtt_fast::ControlPacket::getPacket(), and send().

Referenced by sendConnack(), sendConnect(), sendDisconnect(), sendPingreq(), sendPingresp(), sendPuback(), sendPubcomp(), sendPublish(), sendPubrec(), sendPubrel(), sendSuback(), sendSubscribe(), sendUnsuback(), and sendUnsubscribe().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send() [2/3]

void iot::mqtt_fast::SocketContext::send ( iot::mqtt_fast::ControlPacket controlPacket) const
private

Definition at line 234 of file SocketContext.cpp.

234 {
235 send(controlPacket.getPacket());
236 }

References iot::mqtt_fast::ControlPacket::getPacket(), and send().

Here is the call graph for this function:

◆ send() [3/3]

void iot::mqtt_fast::SocketContext::send ( std::vector< char > &&  data) const
private

Definition at line 238 of file SocketContext.cpp.

238 {
239 printData(data);
240 sendToPeer(data.data(), data.size());
241 }
void sendToPeer(const char *chunk, std::size_t chunkLen) const final

References printData(), and core::socket::stream::SocketContext::sendToPeer().

Referenced by send(), and send().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendConnack()

void iot::mqtt_fast::SocketContext::sendConnack ( uint8_t  returnCode,
uint8_t  flags 
)

Definition at line 71 of file SocketContext.cpp.

71 {
72 LOG(DEBUG) << "MQTT (fast): Send CONNACK";
73 LOG(DEBUG) << "MQTT (fast): ============";
74
75 send(iot::mqtt_fast::packets::Connack(returnCode, flags));
76 }

References iot::mqtt_fast::packets::Connack::Connack(), and send().

Here is the call graph for this function:

◆ sendConnect()

void iot::mqtt_fast::SocketContext::sendConnect ( const std::string &  clientId)

Definition at line 64 of file SocketContext.cpp.

64 {
65 LOG(DEBUG) << "MQTT (fast): Send CONNECT";
66 LOG(DEBUG) << "MQTT (fast): ============";
67
69 }

References iot::mqtt_fast::packets::Connect::Connect(), and send().

Here is the call graph for this function:

◆ sendDisconnect()

void iot::mqtt_fast::SocketContext::sendDisconnect ( )

Definition at line 155 of file SocketContext.cpp.

155 {
156 LOG(DEBUG) << "MQTT (fast): Send Disconnect";
157 LOG(DEBUG) << "MQTT (fast): ===============";
158
160 }

References iot::mqtt_fast::packets::Disconnect::Disconnect(), and send().

Here is the call graph for this function:

◆ sendPingreq()

void iot::mqtt_fast::SocketContext::sendPingreq ( )

Definition at line 141 of file SocketContext.cpp.

141 {
142 LOG(DEBUG) << "MQTT (fast): Send Pingreq";
143 LOG(DEBUG) << "MQTT (fast): ============";
144
146 }

References iot::mqtt_fast::packets::Pingreq::Pingreq(), and send().

Here is the call graph for this function:

◆ sendPingresp()

void iot::mqtt_fast::SocketContext::sendPingresp ( )

Definition at line 148 of file SocketContext.cpp.

148 {
149 LOG(DEBUG) << "MQTT (fast): Send Pingresp";
150 LOG(DEBUG) << "MQTT (fast): =============";
151
153 }

References iot::mqtt_fast::packets::Pingresp::Pingresp(), and send().

Here is the call graph for this function:

◆ sendPuback()

void iot::mqtt_fast::SocketContext::sendPuback ( uint16_t  packetIdentifier)

Definition at line 85 of file SocketContext.cpp.

85 {
86 LOG(DEBUG) << "MQTT (fast): Send PUBACK";
87 LOG(DEBUG) << "MQTT (fast): ===========";
88
89 send(iot::mqtt_fast::packets::Puback(packetIdentifier));
90 }

References iot::mqtt_fast::packets::Puback::Puback(), and send().

Here is the call graph for this function:

◆ sendPubcomp()

void iot::mqtt_fast::SocketContext::sendPubcomp ( uint16_t  packetIdentifier)

Definition at line 106 of file SocketContext.cpp.

106 {
107 LOG(DEBUG) << "MQTT (fast): Send PUBCOMP";
108 LOG(DEBUG) << "MQTT (fast): ============";
109
110 send(iot::mqtt_fast::packets::Pubcomp(packetIdentifier));
111 }

References iot::mqtt_fast::packets::Pubcomp::Pubcomp(), and send().

Here is the call graph for this function:

◆ sendPublish()

void iot::mqtt_fast::SocketContext::sendPublish ( const std::string &  topic,
const std::string &  message,
bool  dup = false,
uint8_t  qoS = 0,
bool  retain = false 
)

Definition at line 78 of file SocketContext.cpp.

78 {
79 LOG(DEBUG) << "MQTT (fast): Send PUBLISH";
80 LOG(DEBUG) << "MQTT (fast): ============";
81
82 send(iot::mqtt_fast::packets::Publish(qoS == 0 ? 0 : getPacketIdentifier(), topic, message, dup, qoS, retain));
83 }

References getPacketIdentifier(), iot::mqtt_fast::packets::Publish::Publish(), and send().

Here is the call graph for this function:

◆ sendPubrec()

void iot::mqtt_fast::SocketContext::sendPubrec ( uint16_t  packetIdentifier)

Definition at line 92 of file SocketContext.cpp.

92 {
93 LOG(DEBUG) << "MQTT (fast): Send PUBREC";
94 LOG(DEBUG) << "MQTT (fast): ===========";
95
96 send(iot::mqtt_fast::packets::Pubrec(packetIdentifier));
97 }

References iot::mqtt_fast::packets::Pubrec::Pubrec(), and send().

Here is the call graph for this function:

◆ sendPubrel()

void iot::mqtt_fast::SocketContext::sendPubrel ( uint16_t  packetIdentifier)

Definition at line 99 of file SocketContext.cpp.

99 {
100 LOG(DEBUG) << "MQTT (fast): Send PUBREL";
101 LOG(DEBUG) << "MQTT (fast): ===========";
102
103 send(iot::mqtt_fast::packets::Pubrel(packetIdentifier));
104 }

References iot::mqtt_fast::packets::Pubrel::Pubrel(), and send().

Here is the call graph for this function:

◆ sendSuback()

void iot::mqtt_fast::SocketContext::sendSuback ( uint16_t  packetIdentifier,
const std::list< uint8_t > &  returnCodes 
)

Definition at line 120 of file SocketContext.cpp.

120 {
121 LOG(DEBUG) << "MQTT (fast): Send SUBACK";
122 LOG(DEBUG) << "MQTT (fast): ===========";
123
124 send(iot::mqtt_fast::packets::Suback(packetIdentifier, returnCodes));
125 }

References send(), and iot::mqtt_fast::packets::Suback::Suback().

Here is the call graph for this function:

◆ sendSubscribe()

void iot::mqtt_fast::SocketContext::sendSubscribe ( std::list< Topic > &  topics)

Definition at line 113 of file SocketContext.cpp.

113 {
114 LOG(DEBUG) << "MQTT (fast): Send SUBSCRIBE";
115 LOG(DEBUG) << "MQTT (fast): ==============";
116
118 }

References getPacketIdentifier(), send(), and iot::mqtt_fast::packets::Subscribe::Subscribe().

Here is the call graph for this function:

◆ sendUnsuback()

void iot::mqtt_fast::SocketContext::sendUnsuback ( uint16_t  packetIdentifier)

Definition at line 134 of file SocketContext.cpp.

134 {
135 LOG(DEBUG) << "MQTT (fast): Send UNSUBACK";
136 LOG(DEBUG) << "MQTT (fast): =============";
137
138 send(iot::mqtt_fast::packets::Unsuback(packetIdentifier));
139 }

References send(), and iot::mqtt_fast::packets::Unsuback::Unsuback().

Here is the call graph for this function:

◆ sendUnsubscribe()

void iot::mqtt_fast::SocketContext::sendUnsubscribe ( const std::list< std::string > &  topics)

Definition at line 127 of file SocketContext.cpp.

127 {
128 LOG(DEBUG) << "MQTT (fast): Send UNSUBSCRIBE";
129 LOG(DEBUG) << "MQTT (fast): ================";
130
132 }

References getPacketIdentifier(), send(), and iot::mqtt_fast::packets::Unsubscribe::Unsubscribe().

Here is the call graph for this function:

Member Data Documentation

◆ _packetIdentifier

uint16_t iot::mqtt_fast::SocketContext::_packetIdentifier = 0
private

Definition at line 137 of file SocketContext.h.

Referenced by getPacketIdentifier().

◆ controlPacketFactory

iot::mqtt_fast::ControlPacketFactory iot::mqtt_fast::SocketContext::controlPacketFactory
private

Definition at line 135 of file SocketContext.h.

Referenced by onReceivedFromPeer(), and SocketContext().


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