Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 26, 2006, 3:14:17 PM (18 years ago)
Author:
patrick
Message:

extended the sharednetworkdata inteface. now synchronizeables should also be removed on proxy servers by message handling

File:
1 edited

Legend:

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

    r9409 r9492  
    1919#include "netdefs.h"
    2020#include "state.h"
     21
     22#include "network_stream.h"
    2123
    2224#include "debug.h"
     
    5153  SharedNetworkData::singletonRef = NULL;
    5254}
     55
     56
     57
     58/** @return true if this user is connected to the local host */
     59bool SharedNetworkData::isUserLocal( int userID)
     60{
     61  return this->defaultSyncStream->isUserLocal(userID);
     62}
     63
     64
     65/** @returns true if this user is a master server */
     66bool SharedNetworkData::isUserMasterServer( int userID )
     67{
     68  return this->defaultSyncStream->isUserMasterServer(userID);
     69}
     70
     71
     72/** @returns true if this user is a proxy server */
     73bool SharedNetworkData::isUserProxyServerActive( int userID )
     74{
     75   return this->defaultSyncStream->isUserProxyServerActive(userID);
     76}
     77
     78
     79/** @returns true if this user is a client */
     80bool SharedNetworkData::isUserClient( int userID )
     81{
     82  return this->defaultSyncStream->isUserClient(userID);
     83}
Note: See TracChangeset for help on using the changeset viewer.