Last change
on this file since 5550 was
5550,
checked in by snellen, 18 years ago
|
synchronizeable finished, connection_monitor.h updated
|
File size:
723 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file connection_monitor.h |
---|
3 | \brief provides information about the quality of a connection. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _CONNECTION_MONITOR_H |
---|
7 | #define _CONNECTION_MONITOR_H |
---|
8 | |
---|
9 | #include "netdefs.h" |
---|
10 | //#include "networkstream.h" |
---|
11 | |
---|
12 | class ConnectionMonitor |
---|
13 | { |
---|
14 | public: |
---|
15 | ConnectionMonitor(); |
---|
16 | ~ConnectionMonitor(); |
---|
17 | |
---|
18 | private: |
---|
19 | |
---|
20 | void processPacket(); |
---|
21 | void displayStatistic(); |
---|
22 | |
---|
23 | //NetworkStream& networkStream; |
---|
24 | |
---|
25 | unsigned int totalReceivedPackets; |
---|
26 | unsigned int totalLostPackets; |
---|
27 | unsigned int packetSize; |
---|
28 | |
---|
29 | unsigned int currentDatarate; |
---|
30 | unsigned int timeForLastFewPackets; |
---|
31 | |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | #endif |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.