Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/connection_monitor.cc @ 5581

Last change on this file since 5581 was 5581, checked in by snellen, 18 years ago

synchronizeable updated, connection_monitor.h and connection_monitor.cc updated

File size: 912 bytes
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: Silvan Nellen
13   co-programmer: ...
14*/
15
16#include "connection_monitor.h"
17
18/* using namespace std is default, this needs to be here */
19using namespace std;
20
21ConnectionMonitor::ConnectionMonitor()
22 {
23
24         totalReceivedPackets=0;
25         totalLostPackets=0;
26         //packetSize=?;
27
28         currentPacketID=0;
29         currentDatarate=0;
30         timeForLastFewPackets=0;
31
32 }
33
34
35ConnectionMonitor::~ConnectionMonitor()
36 {
37
38
39
40
41 }
42
43
44
45 void ConnectionMonitor::processPacket(byte* packet)
46 {
47
48
49
50 }
51
52
53 void ConnectionMonitor::displayStatistic()
54 {
55
56
57
58
59
60 }
61
Note: See TracBrowser for help on using the repository browser.