BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::GWSPriorityAssigner Class Referenceabstract

Implementation of GWSPriorityAssigner interface provides a method for assigning of sending priority to GWMessage instances. The priorities are used for better control flow of output traffic. More...

#include <GWSPriorityAssigner.h>

Inheritance diagram for BeeeOn::GWSPriorityAssigner:
BeeeOn::GWSFixedPriorityAssigner

Public Types

typedef Poco::SharedPtr
< GWSPriorityAssigner
Ptr
 

Public Member Functions

virtual size_t assignPriority (const GWMessage::Ptr message)=0
 

Detailed Description

Implementation of GWSPriorityAssigner interface provides a method for assigning of sending priority to GWMessage instances. The priorities are used for better control flow of output traffic.

The highest priority is 0 (the most urgent messages). Priorities greater then 0 are lower (less urgent).

Member Function Documentation

virtual size_t BeeeOn::GWSPriorityAssigner::assignPriority ( const GWMessage::Ptr  message)
pure virtual
Returns
priority for the given message (smaller is better).

Implemented in BeeeOn::GWSFixedPriorityAssigner.


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