source:
orxonox.OLD/branches/network/src/lib/network/connection_monitor.cc
@
5612
Last change on this file since 5612 was 5581, checked in by snellen, 19 years ago | |
---|---|
File size: 912 bytes |
Rev | Line | |
---|---|---|
[5523] | 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: ... | |
[5550] | 14 | */ |
[5523] | 15 | |
[5547] | 16 | #include "connection_monitor.h" |
[5526] | 17 | |
[5564] | 18 | /* using namespace std is default, this needs to be here */ |
19 | using namespace std; | |
20 | ||
[5523] | 21 | ConnectionMonitor::ConnectionMonitor() |
22 | { | |
23 | ||
[5581] | 24 | totalReceivedPackets=0; |
25 | totalLostPackets=0; | |
26 | //packetSize=?; | |
[5523] | 27 | |
[5581] | 28 | currentPacketID=0; |
29 | currentDatarate=0; | |
30 | timeForLastFewPackets=0; | |
31 | ||
[5523] | 32 | } |
33 | ||
34 | ||
[5547] | 35 | ConnectionMonitor::~ConnectionMonitor() |
[5523] | 36 | { |
37 | ||
38 | ||
39 | ||
40 | ||
41 | } | |
42 | ||
[5550] | 43 | |
[5581] | 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.