mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
40 lines
944 B
C++
Executable File
40 lines
944 B
C++
Executable File
//ConnectionServerMetricsData.h
|
|
//Copyright 2002 Sony Online Entertainment
|
|
|
|
|
|
#ifndef _ConnectionServerMetricsData_H
|
|
#define _ConnectionServerMetricsData_H
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include "serverMetrics/MetricsData.h"
|
|
#include <map>
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
class ConnectionServerMetricsData : public MetricsData
|
|
{
|
|
public:
|
|
ConnectionServerMetricsData();
|
|
~ConnectionServerMetricsData();
|
|
|
|
virtual void updateData();
|
|
|
|
private:
|
|
unsigned long m_numUsers;
|
|
unsigned long m_numGameServers;
|
|
unsigned long m_pingTrafficNumBytes;
|
|
|
|
std::map< std::string, unsigned long > m_packetDataMap;
|
|
|
|
private:
|
|
|
|
// Disabled.
|
|
ConnectionServerMetricsData(const ConnectionServerMetricsData&);
|
|
ConnectionServerMetricsData &operator =(const ConnectionServerMetricsData&);
|
|
};
|
|
|
|
|
|
//-----------------------------------------------------------------------
|
|
#endif
|