Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 25, 2006, 8:15:01 AM (18 years ago)
Author:
bensch
Message:

some cleanup

File:
1 edited

Legend:

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

    r9406 r9444  
    5454
    5555
    56 std::string PeerInfo::getNodeTypeString()
     56const std::string& PeerInfo::getNodeTypeString()
    5757{
     58  return nodeNames[this->nodeType];
     59/*
    5860  switch( this->nodeType)
    5961  {
     
    6870  }
    6971
    70   return std::string("node is uninit");
     72  return std::string("node is uninit");*/
    7173}
     74
     75const std::string PeerInfo::nodeNames[] =
     76{
     77
     78  "maser server",
     79  "proxy server active",
     80  "proxy server passive",
     81  "client",
     82  "node is not initialized"
     83};
Note: See TracChangeset for help on using the changeset viewer.