BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions | Protected Attributes
BeeeOn::GWMessageContext Class Reference

#include <GWMessageContext.h>

Inheritance diagram for BeeeOn::GWMessageContext:
BeeeOn::GWResponseContext BeeeOn::GWTimedContext BeeeOn::GWRequestContext BeeeOn::GWResponseWithAckContext BeeeOn::GWSensorDataExportContext

Public Types

typedef Poco::SharedPtr
< GWMessageContext
Ptr
 

Public Member Functions

 GWMessageContext (GWMessagePriority priority)
 
GWMessage::Ptr message ()
 
void setMessage (GWMessage::Ptr msg)
 
int priority () const
 
GlobalID id () const
 

Protected Attributes

int m_priority
 
GWMessage::Ptr m_message
 

Detailed Description

Encapsulate GWMessage with its priority for sending. Higher priority means message is forwarded sooner.

This is typically used for messages forwarded to server to hold an additional information needed in case of response will arrive or, in case its needed, to resend the message.

This class is meant to be derived by specific message type context.


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