Changeset 9431 in orxonox.OLD for branches/proxy/src/lib/network/monitor
- Timestamp:
- Jul 24, 2006, 4:13:04 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network/monitor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/connection_monitor.h
r9406 r9431 34 34 35 35 void printStatis(); 36 float getIncomingUnzippedBandWidth() const { return incomingUnzippedBandWidth; } 37 float getOutgoingUnzippedBandWidth() const { return outgoingUnzippedBandWidth; } 38 float getIncomingZippedBandWidth() const { return incomingZippedBandWidth; } 39 float getOutgoingZippedBandWidth() const { return outgoingZippedBandWidth; } 36 40 37 41 private: -
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9426 r9431 119 119 * @param ip ip of the new node 120 120 */ 121 void NetworkMonitor::addNode( IPip, int nodeType)121 void NetworkMonitor::addNode(const IP& ip, int nodeType) 122 122 { 123 123 PeerInfo* pInfo = new PeerInfo(); -
branches/proxy/src/lib/network/monitor/network_monitor.h
r9406 r9431 37 37 38 38 void addNode(PeerInfo* pInfo); 39 void addNode( IPip, int nodeType);39 void addNode(const IP& ip, int nodeType); 40 40 void addNode(NetworkNode* node) { this->nodeList.push_back(node); } 41 41 void addNode(NetworkNode* node, PeerInfo* pInfo);
Note: See TracChangeset
for help on using the changeset viewer.