Changeset 9288 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 14, 2006, 11:32:45 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.cc
r9287 r9288 193 193 for(; it != this->nodeList.end(); it++) 194 194 { 195 (*it)->debug( );195 (*it)->debug(0); 196 196 } 197 197 -
branches/proxy/src/lib/network/monitor/network_node.cc
r9284 r9288 119 119 PRINTF(2)("Could not remove client from the list, very strange..."); 120 120 } 121 122 123 124 /** 125 * debug function 126 * @param depth: depth in the tree 127 */ 128 void NetworkNode::debug(int depth) 129 { 130 PRINT(0)(" = %s\n", this->peerInfo->getNodeTypeString().c_str()); 131 132 PRINT(0)(" master servers: %i\n", this->masterServerList.size()); 133 std::list<PeerInfo*>::iterator it = this->masterServerList.begin(); 134 for(; it != this->masterServerList.end(); it++) 135 { 136 PRINT(0)(" ms, id: %i\n", (*it)->userId); 137 } 138 139 PRINT(0)(" proxy servers: %i\n", this->proxyServerList.size()); 140 it = this->proxyServerList.begin(); 141 for(; it != this->proxyServerList.end(); it++) 142 { 143 PRINT(0)(" ps, id: %i\n", (*it)->userId); 144 } 145 146 PRINT(0)(" clients: %i\n", this->clientList.size()); 147 it = this->clientList.begin(); 148 for(; it != this->clientList.end(); it++) 149 { 150 PRINT(0)(" client, id: %i\n", (*it)->userId); 151 } 152 } 153 -
branches/proxy/src/lib/network/monitor/network_node.h
r9286 r9288 37 37 inline PeerInfo* getPeerInfo() { return this->peerInfo; } 38 38 39 void debug(int depth); 40 39 41 40 42 private:
Note: See TracChangeset
for help on using the changeset viewer.