PLCnext API Documentation 25.0.2.69
|
Service for the netload limiter statistic handling More...
#include <INetloadLimiterStatisticService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< INetloadLimiterStatisticService > |
![]() | |
using | Ptr = std::shared_ptr< IRscService > |
The shared_ptr type of IRscService. | |
Public Member Functions | |
INetloadLimiterStatisticService (void)=default | |
Constructs an INetloadLimiterStatisticService instance. | |
virtual NetloadLimiterStatisticResult | GetStatistic (uint8 networkInterfaceId)=0 |
Read the statistic values of die specified network interface More... | |
virtual std::vector< NetloadLimiterStatisticResult > | GetStatistics (const std::vector< uint8 > &networkInterfaceIds)=0 |
Read the statistic values of die specified network interfaces More... | |
virtual NetloadLimiterErrorCode | ResetStatistic (uint8 networkInterfaceId)=0 |
Reset the statistic values Max, Peak and Duration of the packet and byte statistics for the specified interface. More... | |
![]() | |
IRscService (void)=default | |
The default constructor. | |
IRscService (const IRscService &arg)=delete | |
The deleted copy constructor. More... | |
IRscService (IRscService &&arg) noexcept=default | |
The default move constructor. More... | |
IRscService & | operator= (const IRscService &arg)=delete |
The deleted assignment operator. More... | |
IRscService & | operator= (IRscService &&arg) noexcept=default |
The default move-assignment operator. More... | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resources. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Service for the netload limiter statistic handling
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Read the statistic values of die specified network interface
networkInterfaceId | Id of the network interface |
|
pure virtual |
Read the statistic values of die specified network interfaces
networkInterfaceIds | Array of network interface ids. An empty array addresses all network adapters |
|
pure virtual |
Reset the statistic values Max, Peak and Duration of the packet and byte statistics for the specified interface.
networkInterfaceId | Id of the network interface. 0 to address all network adapters |