Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9286 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.cc


Ignore:
Timestamp:
Jul 14, 2006, 10:59:33 AM (19 years ago)
Author:
patrick
Message:

first network monitor debug session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/peer_info.cc

    r9282 r9286  
    5050  this->connectionMonitor = NULL;
    5151}
     52
     53
     54std::string PeerInfo::getNodeTypeString()
     55{
     56  switch( this->nodeType)
     57  {
     58    case NET_CLIENT:
     59      return std::string("client");
     60    case NET_PROXY_SERVER:
     61      return std::string("proxy server");
     62    case NET_MASTER_SERVER:
     63      return std::string("master server");
     64  }
     65
     66  return std::string("node is uninit");
     67}
Note: See TracChangeset for help on using the changeset viewer.