This struct contains all settings of the netload limiter. It is used to set and get the current settings.
More...
#include <NetloadLimiterSettings.hpp>
|
| void | Serialize (RscWriter &writer) const override |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
| |
| void | Deserialize (RscReader &reader) override |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
| |
|
virtual | ~IRscSerializable ()=default |
| | default destructor
|
| |
| virtual void | Serialize (RscWriter &writer) const =0 |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
| |
| virtual void | Deserialize (RscReader &reader)=0 |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
| |
|
|
static constexpr size_t | GetFieldCount (void) |
| |
| static size_t | GetFieldCount (void) |
| | Returns the count of fields of the struct type More...
|
| |
|
|
boolean | PacketLimiterEnabled = false |
| | Flag to enable/disable packet limiter.
|
| |
|
boolean | ByteLimiterEnabled = false |
| | Flag to enable/disable byte limiter.
|
| |
|
uint16 | PacketLimit = 0 |
| | Count of allowed packets per millisecond. This value is used if PacketLimiterEnabled is set to true. 0 means no network communication allowed.
|
| |
|
uint32 | ByteLimit = 0 |
| | Count of allowed bytes per millisecond. This value is used if ByteLimiterEnabled is set to true. 0 means no network communication allowed.
|
| |
This struct contains all settings of the netload limiter. It is used to set and get the current settings.
◆ Deserialize()
| void Arp::Hardware::Nim::Services::NetloadLimiterSettings::Deserialize |
( |
RscReader & |
reader | ) |
|
|
inlineoverridevirtual |
◆ Serialize()
| void Arp::Hardware::Nim::Services::NetloadLimiterSettings::Serialize |
( |
RscWriter & |
writer | ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: