Changeset 5581 in orxonox.OLD for branches/network/src/lib/network/connection_monitor.h
- Timestamp:
- Nov 16, 2005, 1:19:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.h
r5550 r5581 7 7 #define _CONNECTION_MONITOR_H 8 8 9 #include "base_object.h" 9 10 #include "netdefs.h" 10 //#include "networkstream.h"11 11 12 class ConnectionMonitor 12 class ConnectionMonitor : virtual public BaseObject 13 13 { 14 14 public: … … 16 16 ~ConnectionMonitor(); 17 17 18 void processPacket(byte* packet); 19 20 18 21 private: 19 22 20 void processPacket(); 23 21 24 void displayStatistic(); 22 23 //NetworkStream& networkStream;24 25 25 26 unsigned int totalReceivedPackets; … … 27 28 unsigned int packetSize; 28 29 30 unsigned int currentPacketID; 29 31 unsigned int currentDatarate; 30 32 unsigned int timeForLastFewPackets; 31 32 33 33 34 };
Note: See TracChangeset
for help on using the changeset viewer.