Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9432 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 24, 2006, 4:19:17 PM (18 years ago)
Author:
bensch
Message:

more peer info

File:
1 edited

Legend:

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

    r9406 r9432  
    2222
    2323
    24     inline bool isMasterServer() { return this->nodeType == NET_MASTER_SERVER; }
    25     inline bool isProxyServer() { return this->nodeType == NET_PROXY_SERVER_ACTIVE; }
    26     inline bool isProxyServerPassive() { return this->nodeType == NET_PROXY_SERVER_PASSIVE; }
    27     inline bool isClient() { return this->nodeType == NET_CLIENT; }
     24    inline bool isMasterServer() const { return this->nodeType == NET_MASTER_SERVER; }
     25    inline bool isProxyServer() const { return this->nodeType == NET_PROXY_SERVER_ACTIVE; }
     26    inline bool isProxyServerPassive() const { return this->nodeType == NET_PROXY_SERVER_PASSIVE; }
     27    inline bool isClient() const { return this->nodeType == NET_CLIENT; }
     28
     29    inline const ConnectionMonitor * const getConnectionMonitor() const { return this->connectionMonitor; };
     30
    2831
    2932    std::string getNodeTypeString();
Note: See TracChangeset for help on using the changeset viewer.