Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2006, 10:35:26 AM (18 years ago)
Author:
patrick
Message:

starting switch to multiple server states (proxy, master, client,..)

File:
1 edited

Legend:

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

    r9246 r9248  
    6161    void disconnectSynchronizeable(Synchronizeable& sync);
    6262
    63     inline bool isServer() const { return (this->type == NET_SERVER)? true:false; }
     63    inline bool isMasterServer() const { return (this->type == NET_MASTER_SERVER)? true:false; }
     64    inline bool isProxyServer() const { return (this->type == NET_PROXY_SERVER)? true:false; }
     65    inline bool isClient() const { return (this->type == NET_CLIENT)? true:false; }
    6466    inline bool isActive() const { return this->bActive; }
    6567
Note: See TracChangeset for help on using the changeset viewer.