Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9641 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 31, 2006, 10:06:17 AM (18 years ago)
Author:
bensch
Message:

minor cleanup

Location:
branches/proxy/src/lib/network/monitor
Files:
3 edited

Legend:

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

    r9639 r9641  
    6464
    6565    /** @returns the active proxy server list of the localnode */
    66     inline std::list<NetworkNode*> getActiveProxyServer() const { return this->localNode->getActiveProxyServer(); }
     66    inline std::list<NetworkNode*> getActiveProxyServers() const { return this->localNode->getActiveProxyServers(); }
    6767
    6868    /* slots admin and info interface */
  • branches/proxy/src/lib/network/monitor/network_node.cc

    r9639 r9641  
    418418  if( !this->masterServerList.empty())
    419419  {
    420 //     PRINT(0)("%s + master servers: %i\n", indent, this->masterServerList.size());
    421420    it = this->masterServerList.begin();
    422421
    423422    for(; it != this->masterServerList.end(); it++)
    424423    {
    425 //       IP* ip = &(*it)->getPeerInfo()->ip;
    426 //       PRINT(0)("%s     - ms, id: %i (%s)\n", indent, (*it)->getPeerInfo()->userId, ip->ipString().c_str());
    427424      (*it)->debug(depth+1);
    428425    }
     
    431428  if( !this->activeProxyServerList.empty())
    432429  {
    433 //     PRINT(0)("%s + proxy servers active: %i\n", indent, this->activeProxyServerList.size());
    434430    it = this->activeProxyServerList.begin();
    435431
    436432    for(; it != this->activeProxyServerList.end(); it++)
    437433    {
    438 //       IP* ip = &(*it)->getPeerInfo()->ip;
    439 //       PRINT(0)("%s     - ps-a, id: %i (%s)\n", indent, (*it)->getPeerInfo()->userId, ip->ipString().c_str());
    440434      (*it)->debug(depth+1);
    441435    }
     
    445439  if( !this->passiveProxyServerList.empty())
    446440  {
    447 //     PRINT(0)("%s proxy servers passive: %i\n", indent, this->passiveProxyServerList.size());
    448441    it = this->passiveProxyServerList.begin();
    449442
    450443    for(; it != this->passiveProxyServerList.end(); it++)
    451444    {
    452 //       IP* ip = &(*it)->getPeerInfo()->ip;
    453 //       PRINT(0)("%s     - ps-p, id: %i (%s)\n", indent, (*it)->getPeerInfo()->userId, ip->ipString().c_str());
    454445      (*it)->debug(depth+1);
    455446    }
     
    458449  if( !this->clientList.empty())
    459450  {
    460 //     PRINT(0)("%s clients: %i\n", indent, this->clientList.size());
    461451    it = this->clientList.begin();
    462452
    463453    for(; it != this->clientList.end(); it++)
    464454    {
    465 //       IP* ip = &(*it)->getPeerInfo()->ip;
    466 //       PRINT(0)("%s     - client, id: %i (%s)\n", indent, (*it)->getPeerInfo()->userId, ip->ipString().c_str());
    467455      (*it)->debug(depth+1);
    468456    }
  • branches/proxy/src/lib/network/monitor/network_node.h

    r9639 r9641  
    4343
    4444    /** @returns the master server list */
    45     inline std::list<NetworkNode*> getMasterServer() const { return this->masterServerList; }
     45    inline std::list<NetworkNode*> getMasterServers() const { return this->masterServerList; }
    4646    /** @returns the active proxy server list */
    47     inline std::list<NetworkNode*> getActiveProxyServer() const { return this->activeProxyServerList; }
     47    inline std::list<NetworkNode*> getActiveProxyServers() const { return this->activeProxyServerList; }
    4848    /** @returns the passive proxy server list */
    49     inline std::list<NetworkNode*> getPassiveProxyServer() const { return this->passiveProxyServerList; }
     49    inline std::list<NetworkNode*> getPassiveProxyServers() const { return this->passiveProxyServerList; }
    5050    /** @returns the client list */
    51     inline std::list<NetworkNode*> getClient() const { return this->clientList; }
     51    inline std::list<NetworkNode*> getClients() const { return this->clientList; }
    5252
    5353    PeerInfo* getPeerByUserId( int userId);
Note: See TracChangeset for help on using the changeset viewer.