BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
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>
Public Types | |
typedef Poco::SharedPtr < GWSPriorityAssigner > | Ptr |
Public Member Functions | |
virtual size_t | assignPriority (const GWMessage::Ptr message)=0 |
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).
|
pure virtual |
Implemented in BeeeOn::GWSFixedPriorityAssigner.