Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 23, 2006, 10:07:23 PM (18 years ago)
Author:
patrick
Message:

committing my weekends work: 2100 lines :D

  • proxy server now accepts and synchronizes clients like a master server
  • network manager got different network setup interface
  • network stream got different constructure scheme
  • permissions checking and algorithm extended and changed
  • starting ability to connect to multiple network nodes at the same time
  • some very much smaller changes here and there
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_monitor.h

    r9347 r9396  
    5555    inline void removeMasterServer(NetworkNode* node, PeerInfo* pInfo) { node->removeMasterServer(pInfo); }
    5656
     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
    5763    /* slots admin and info interface */
    5864    /** @returns the total number of players in this game (including all proxy servers etc)*/
     
    6369    /** @param node node to be checked for slots @returns true if there are still free network slots available at this node */
    6470    inline bool gotFreeSlots(NetworkNode* node) { return (node->getPlayerNumber() < SharedNetworkData::getInstance()->getMaxPlayer())?true:false; }
    65     PeerInfo* getFirstChoiceProxy();
    66     PeerInfo* getSecondChoiceProxy();
     71
    6772    /** @returns true if the next client should be reconnected to some other proxy server with more connections */
    6873    inline bool isReconnectNextClient() { return (this->localNode->getPlayerNumber() >= SharedNetworkData::getInstance()->getMaxPlayer())?true:false; }
Note: See TracChangeset for help on using the changeset viewer.