Changeset 9286 in orxonox.OLD for branches/proxy/src/lib/network/monitor
- Timestamp:
- Jul 14, 2006, 10:59:33 AM (19 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
r9285 r9286 155 155 this->playerNumber += (*it)->getPlayerNumber(); 156 156 } 157 158 this->debug(); 157 159 } 158 160 159 161 /** 162 * prints out the debug informations 163 */ 160 164 void NetworkMonitor::debug() 161 165 { 162 166 PRINTF(0)("================================= Network Monitor ========\n"); 167 PRINTF(0)(" I am: %s\n", this->localNode->getPeerInfo()->getNodeTypeString().c_str()); 163 168 PRINTF(0)(" Total count of network nodes: %i\n", this->playerNumber); 164 169 PRINTF(0)("==========================================================\n"); 170 // PRINTF(0)(" Currently got %i"); 165 171 } 166 172 -
branches/proxy/src/lib/network/monitor/network_node.h
r9284 r9286 34 34 /** @returns the node type of this node */ 35 35 inline int getNodeType() { return this->peerInfo->nodeType; } 36 /** @returns the peer info of this node */ 37 inline PeerInfo* getPeerInfo() { return this->peerInfo; } 36 38 37 39
Note: See TracChangeset
for help on using the changeset viewer.