Changeset 9396 in orxonox.OLD for branches/proxy/src/lib/network/monitor/network_monitor.h
- Timestamp:
- Jul 23, 2006, 10:07:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.h
r9347 r9396 55 55 inline void removeMasterServer(NetworkNode* node, PeerInfo* pInfo) { node->removeMasterServer(pInfo); } 56 56 57 PeerInfo* getFirstChoiceProxy(); 58 PeerInfo* getSecondChoiceProxy(); 59 60 /** @returns the active proxy server list of the localnode */ 61 inline std::list<PeerInfo*> getActiveProxyServer() { return this->localNode->getActiveProxyServer(); } 62 57 63 /* slots admin and info interface */ 58 64 /** @returns the total number of players in this game (including all proxy servers etc)*/ … … 63 69 /** @param node node to be checked for slots @returns true if there are still free network slots available at this node */ 64 70 inline bool gotFreeSlots(NetworkNode* node) { return (node->getPlayerNumber() < SharedNetworkData::getInstance()->getMaxPlayer())?true:false; } 65 PeerInfo* getFirstChoiceProxy(); 66 PeerInfo* getSecondChoiceProxy(); 71 67 72 /** @returns true if the next client should be reconnected to some other proxy server with more connections */ 68 73 inline bool isReconnectNextClient() { return (this->localNode->getPlayerNumber() >= SharedNetworkData::getInstance()->getMaxPlayer())?true:false; }
Note: See TracChangeset
for help on using the changeset viewer.