RakNet::StatisticsHistoryPlugin Class Reference
[Plugins]

Input numerical values over time. Get sum, average, highest, lowest, standard deviation on recent or all-time values. More...

#include <StatisticsHistory.h>

Inheritance diagram for RakNet::StatisticsHistoryPlugin:

RakNet::PluginInterface2

List of all members.

Protected Member Functions

virtual void Update (void)
 Update is called every time a packet is checked for .
virtual void OnClosedConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason)
virtual void OnNewConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, bool isIncoming)


Detailed Description

Input numerical values over time. Get sum, average, highest, lowest, standard deviation on recent or all-time values.

Member Function Documentation

virtual void RakNet::StatisticsHistoryPlugin::OnClosedConnection ( const SystemAddress systemAddress,
RakNetGUID  rakNetGUID,
PI2_LostConnectionReason  lostConnectionReason 
) [protected, virtual]

Called when a connection is dropped because the user called RakPeer::CloseConnection() for a particular system

Parameters:
[in] systemAddress The system whose connection was closed
[in] rakNetGuid The guid of the specified system
[in] lostConnectionReason How the connection was closed: manually, connection lost, or notification of disconnection

Reimplemented from RakNet::PluginInterface2.

virtual void RakNet::StatisticsHistoryPlugin::OnNewConnection ( const SystemAddress systemAddress,
RakNetGUID  rakNetGUID,
bool  isIncoming 
) [protected, virtual]

Called when we got a new connection

Parameters:
[in] systemAddress Address of the new connection
[in] rakNetGuid The guid of the specified system
[in] isIncoming If true, this is ID_NEW_INCOMING_CONNECTION, or the equivalent

Reimplemented from RakNet::PluginInterface2.


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

Generated on Tue Jul 31 07:31:24 2012 for RakNet by  doxygen 1.5.7.1