Planeshift
psNetInfos Class Reference

Gives informations about the network connection. More...

#include <netinfos.h>

Public Member Functions

void AddPingTicks (csTicks t)
 Add a tick value to the global queue. More...
 
csTicks GetAveragePingTicks ()
 Compute the average ticks a ping uses. More...
 
 psNetInfos ()
 Constructor. More...
 
 ~psNetInfos ()
 Destructor. More...
 

Public Attributes

int droppedPackets
 

Detailed Description

Gives informations about the network connection.

Definition at line 35 of file netinfos.h.

Constructor & Destructor Documentation

psNetInfos::psNetInfos ( )
inline

Constructor.

Definition at line 39 of file netinfos.h.

psNetInfos::~psNetInfos ( )

Destructor.

Member Function Documentation

void psNetInfos::AddPingTicks ( csTicks  t)

Add a tick value to the global queue.

csTicks psNetInfos::GetAveragePingTicks ( )

Compute the average ticks a ping uses.

Member Data Documentation

int psNetInfos::droppedPackets

Definition at line 48 of file netinfos.h.


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