Ginan
Loading...
Searching...
No Matches
NetworkStatistics Struct Reference
Inheritance diagram for NetworkStatistics:
Collaboration diagram for NetworkStatistics:

Public Member Functions

string getNetworkStatistics (GTime now, string label)
 
void onConnectedStatistics ()
 
void onDisconnectedStatistics ()
 
void onChunkSentStatistics ()
 
void onChunkReceivedStatistics ()
 
void onErrorStatistics (const boost::system::error_code &err, string operation)
 

Data Fields

string streamName
 
GTime startTime
 
GTime endTime
 
string networkTraceFilename
 
int connectCount = 0
 
int disconnectCount = 0
 
int chunksSent = 0
 
int chunksReceived = 0
 
boost::posix_time::time_duration connectedDuration = boost::posix_time::hours(0)
 
boost::posix_time::time_duration disconnectedDuration = boost::posix_time::hours(0)
 

Member Function Documentation

◆ getNetworkStatistics()

string NetworkStatistics::getNetworkStatistics ( GTime now,
string label )
Here is the call graph for this function:

◆ onChunkReceivedStatistics()

void NetworkStatistics::onChunkReceivedStatistics ( )
Here is the caller graph for this function:

◆ onChunkSentStatistics()

void NetworkStatistics::onChunkSentStatistics ( )
Here is the caller graph for this function:

◆ onConnectedStatistics()

void NetworkStatistics::onConnectedStatistics ( )
Here is the caller graph for this function:

◆ onDisconnectedStatistics()

void NetworkStatistics::onDisconnectedStatistics ( )
Here is the caller graph for this function:

◆ onErrorStatistics()

void NetworkStatistics::onErrorStatistics ( const boost::system::error_code & err,
string operation )

Field Documentation

◆ chunksReceived

int NetworkStatistics::chunksReceived = 0

◆ chunksSent

int NetworkStatistics::chunksSent = 0

◆ connectCount

int NetworkStatistics::connectCount = 0

◆ connectedDuration

boost::posix_time::time_duration NetworkStatistics::connectedDuration = boost::posix_time::hours(0)

◆ disconnectCount

int NetworkStatistics::disconnectCount = 0

◆ disconnectedDuration

boost::posix_time::time_duration NetworkStatistics::disconnectedDuration = boost::posix_time::hours(0)

◆ endTime

GTime NetworkStatistics::endTime

◆ networkTraceFilename

string NetworkStatistics::networkTraceFilename

◆ startTime

GTime NetworkStatistics::startTime

◆ streamName

string NetworkStatistics::streamName

The documentation for this struct was generated from the following files: