Changeset 9289 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 14, 2006, 11:35:21 AM (18 years ago)
- Location:
- branches/proxy/src/lib/network/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9288 r9289 186 186 void NetworkMonitor::debug() 187 187 { 188 PRINT F(0)("================================= Network Monitor ========\n");189 PRINT F(0)(" I am: %s\n", this->localNode->getPeerInfo()->getNodeTypeString().c_str());190 PRINT F(0)(" Total count of network connections: %i\n", this->playerNumber);188 PRINT(0)("================================= Network Monitor::debug() =====\n"); 189 PRINT(0)(" I am: %s\n", this->localNode->getPeerInfo()->getNodeTypeString().c_str()); 190 PRINT(0)(" Total count of network connections: %i\n", this->playerNumber); 191 191 192 192 std::list<NetworkNode*>::iterator it = this->nodeList.begin(); … … 196 196 } 197 197 198 PRINTF(0)("==========================================================\n"); 199 // PRINTF(0)(" Currently got %i"); 200 } 201 198 PRINT(0)("================================================================\n"); 199 } 200 -
branches/proxy/src/lib/network/monitor/network_node.cc
r9288 r9289 130 130 PRINT(0)(" = %s\n", this->peerInfo->getNodeTypeString().c_str()); 131 131 132 PRINT(0)(" master servers: %i\n", this->masterServerList.size());132 PRINT(0)(" master servers: %i\n", this->masterServerList.size()); 133 133 std::list<PeerInfo*>::iterator it = this->masterServerList.begin(); 134 134 for(; it != this->masterServerList.end(); it++) 135 135 { 136 PRINT(0)(" ms, id: %i\n", (*it)->userId);136 PRINT(0)(" - ms, id: %i\n", (*it)->userId); 137 137 } 138 138 139 PRINT(0)(" proxy servers: %i\n", this->proxyServerList.size());139 PRINT(0)(" proxy servers: %i\n", this->proxyServerList.size()); 140 140 it = this->proxyServerList.begin(); 141 141 for(; it != this->proxyServerList.end(); it++) 142 142 { 143 PRINT(0)(" ps, id: %i\n", (*it)->userId);143 PRINT(0)(" - ps, id: %i\n", (*it)->userId); 144 144 } 145 145 146 PRINT(0)(" clients: %i\n", this->clientList.size());146 PRINT(0)(" clients: %i\n", this->clientList.size()); 147 147 it = this->clientList.begin(); 148 148 for(; it != this->clientList.end(); it++) 149 149 { 150 PRINT(0)(" client, id: %i\n", (*it)->userId);150 PRINT(0)(" - client, id: %i\n", (*it)->userId); 151 151 } 152 152 }
Note: See TracChangeset
for help on using the changeset viewer.