PLCnext API Documentation 23.3.0.32
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Arp::Hardware::Nim::Services::INetloadLimiterStatisticService Class Referenceabstract

Service for the netload limiter statistic handling More...

#include <INetloadLimiterStatisticService.hpp>

Inheritance diagram for Arp::Hardware::Nim::Services::INetloadLimiterStatisticService:
Inheritance graph

Public Types

using Ptr = std::shared_ptr< INetloadLimiterStatisticService >
 
- Public Types inherited from Arp::System::Rsc::Services::IRscService
typedef std::shared_ptr< IRscServicePtr
 

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< NetloadLimiterStatisticResultGetStatistics (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...
 
- Public Member Functions inherited from Arp::System::Rsc::Services::IRscService
 IRscService (void)=default
 Constructs an IRscService instance.
 
virtual ~IRscService (void)=default
 Destructs this instance and frees all resouces.
 

Static Public Member Functions

static IRscServiceProxyFactory & GetProxyFactory (void)
 
- Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscService
static IRscServiceProxyFactory & GetProxyFactory (void)
 Returns a reference to service proxy factory to create a proxy instance of the service More...
 

Detailed Description

Service for the netload limiter statistic handling

Member Function Documentation

◆ GetStatistic()

virtual NetloadLimiterStatisticResult Arp::Hardware::Nim::Services::INetloadLimiterStatisticService::GetStatistic ( uint8  networkInterfaceId)
pure virtual

Read the statistic values of die specified network interface

Parameters
networkInterfaceIdId of the network interface
Returns
Result of operation

◆ GetStatistics()

virtual std::vector< NetloadLimiterStatisticResult > Arp::Hardware::Nim::Services::INetloadLimiterStatisticService::GetStatistics ( const std::vector< uint8 > &  networkInterfaceIds)
pure virtual

Read the statistic values of die specified network interfaces

Parameters
networkInterfaceIdsArray of network interface ids. An empty array addresses all network adapters
Returns
Result array of operation

◆ ResetStatistic()

virtual NetloadLimiterErrorCode Arp::Hardware::Nim::Services::INetloadLimiterStatisticService::ResetStatistic ( uint8  networkInterfaceId)
pure virtual

Reset the statistic values Max, Peak and Duration of the packet and byte statistics for the specified interface.

Parameters
networkInterfaceIdId of the network interface. 0 to address all network adapters
Returns
Error code of operation

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