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 133 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

Definition at line 140 of file NetInterface.hh.

140 {return fTotNumBytes;}

References fTotNumBytes.

◆ totNumPackets()

float NetInterfaceTrafficStats::totNumPackets ( ) const

Definition at line 139 of file NetInterface.hh.

139 {return fTotNumPackets;}

References fTotNumPackets.

Field Documentation

◆ fTotNumBytes

float NetInterfaceTrafficStats::fTotNumBytes

Definition at line 146 of file NetInterface.hh.

Referenced by totNumBytes().

◆ fTotNumPackets

float NetInterfaceTrafficStats::fTotNumPackets

Definition at line 145 of file NetInterface.hh.

Referenced by totNumPackets().

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