Changeset 9639 in orxonox.OLD for branches/proxy/src/lib/network/monitor
- Timestamp:
- Jul 31, 2006, 9:30:52 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network/monitor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.h
r9625 r9639 84 84 /* forced reconnection interface */ 85 85 inline void setForcedReconnection(IP address) { this->bForcedRecon = true; this->forcedReconnection = address;} 86 inline bool isForcedReconnection() { return this->bForcedRecon; }86 inline bool isForcedReconnection() const { return this->bForcedRecon; } 87 87 inline IP getForcedReconnectionIP() { this->bForcedRecon = false; return this->forcedReconnection; } 88 88 -
branches/proxy/src/lib/network/monitor/network_node.cc
r9637 r9639 18 18 #include "debug.h" 19 19 20 21 20 /** 22 21 * constructor … … 365 364 366 365 NetworkNode* node = NULL; 367 std::list<NetworkNode*>:: iterator it = this->masterServerList.begin();366 std::list<NetworkNode*>::const_iterator it = this->masterServerList.begin(); 368 367 369 368 for(; it != this->masterServerList.end(); it++) … … 413 412 414 413 PRINT(0)("%s + %s, with id %i and ip: %s\n", indent, this->peerInfo->getNodeTypeString().c_str(), this->peerInfo->userId, this->peerInfo->ip.ipString().c_str()); 414 415 416 415 417 std::list<NetworkNode*>::const_iterator it; 416 418 if( !this->masterServerList.empty()) -
branches/proxy/src/lib/network/monitor/network_node.h
r9637 r9639 12 12 13 13 #include <list> 14 15 14 16 15 //!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT
Note: See TracChangeset
for help on using the changeset viewer.