com.threerings.config.dist.server
Class DConfigManager

java.lang.Object
  extended by com.threerings.config.dist.server.DConfigManager
All Implemented Interfaces:
DConfigProvider, InvocationProvider

public class DConfigManager
extends Object
implements DConfigProvider

Handles the server side of the distributed config system.


Field Summary
protected  DConfigObject _cfgobj
          The config object.
 
Constructor Summary
DConfigManager(ConfigManager cfgmgr, PresentsDObjectMgr omgr, InvocationManager invmgr)
          Creates a new config manager.
 
Method Summary
 DConfigObject getConfigObject()
          Returns a reference to the config object.
 void updateConfigs(ClientObject caller, ConfigEntry[] add, ConfigEntry[] update, ConfigKey[] remove)
          Handles a DConfigService.updateConfigs(com.threerings.config.dist.data.ConfigEntry[], com.threerings.config.dist.data.ConfigEntry[], com.threerings.config.dist.data.ConfigKey[]) request.
 void updateConfigs(int cloid, ConfigEntry[] add, ConfigEntry[] update, ConfigKey[] remove)
          Deprecated. 
 void updateConfigs(int cloid, Iterable<ConfigEntry> add, Iterable<ConfigEntry> update, Iterable<ConfigKey> remove)
          Performs a set of updates without checking if the identified client has the proper access.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_cfgobj

protected DConfigObject _cfgobj
The config object.

Constructor Detail

DConfigManager

@Inject
public DConfigManager(ConfigManager cfgmgr,
                             PresentsDObjectMgr omgr,
                             InvocationManager invmgr)
Creates a new config manager.

Method Detail

getConfigObject

public DConfigObject getConfigObject()
Returns a reference to the config object.


updateConfigs

@Deprecated
public void updateConfigs(int cloid,
                                     ConfigEntry[] add,
                                     ConfigEntry[] update,
                                     ConfigKey[] remove)
Deprecated. 


updateConfigs

public void updateConfigs(int cloid,
                          Iterable<ConfigEntry> add,
                          Iterable<ConfigEntry> update,
                          Iterable<ConfigKey> remove)
Performs a set of updates without checking if the identified client has the proper access.


updateConfigs

public void updateConfigs(ClientObject caller,
                          ConfigEntry[] add,
                          ConfigEntry[] update,
                          ConfigKey[] remove)
Description copied from interface: DConfigProvider
Handles a DConfigService.updateConfigs(com.threerings.config.dist.data.ConfigEntry[], com.threerings.config.dist.data.ConfigEntry[], com.threerings.config.dist.data.ConfigKey[]) request.

Specified by:
updateConfigs in interface DConfigProvider