live
Public Member Functions | Private Attributes
NetInterfaceTrafficStats Class Reference

#include <NetInterface.hh>

Public Member Functions

 NetInterfaceTrafficStats ()
 
void countPacket (unsigned packetSize)
 
float totNumPackets () const
 
float totNumBytes () const
 
Boolean haveSeenTraffic () const
 

Private Attributes

float fTotNumPackets
 
float fTotNumBytes
 

Detailed Description

Definition at line 93 of file NetInterface.hh.

Constructor & Destructor Documentation

◆ NetInterfaceTrafficStats()

NetInterfaceTrafficStats::NetInterfaceTrafficStats ( )

Member Function Documentation

◆ countPacket()

void NetInterfaceTrafficStats::countPacket ( unsigned  packetSize)

◆ haveSeenTraffic()

Boolean NetInterfaceTrafficStats::haveSeenTraffic ( ) const

◆ totNumBytes()

float NetInterfaceTrafficStats::totNumBytes ( ) const
inline

Definition at line 100 of file NetInterface.hh.

100 {return fTotNumBytes;}

References fTotNumBytes.

◆ totNumPackets()

float NetInterfaceTrafficStats::totNumPackets ( ) const
inline

Definition at line 99 of file NetInterface.hh.

References fTotNumPackets.

Field Documentation

◆ fTotNumBytes

float NetInterfaceTrafficStats::fTotNumBytes
private

Definition at line 106 of file NetInterface.hh.

Referenced by totNumBytes().

◆ fTotNumPackets

float NetInterfaceTrafficStats::fTotNumPackets
private

Definition at line 105 of file NetInterface.hh.

Referenced by totNumPackets().


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