com.threerings.stage.server
Class StageServer

java.lang.Object
  extended by com.threerings.presents.server.PresentsServer
      extended by com.threerings.crowd.server.CrowdServer
          extended by com.threerings.whirled.server.WhirledServer
              extended by com.threerings.stage.server.StageServer

public abstract class StageServer
extends WhirledServer

Extends the Whirled server to provide services needed by the Stage system.


Nested Class Summary
static class StageServer.StageModule
          Configures dependencies needed by the Stage services.
 
Nested classes/interfaces inherited from class com.threerings.whirled.server.WhirledServer
WhirledServer.WhirledModule
 
Nested classes/interfaces inherited from class com.threerings.crowd.server.CrowdServer
CrowdServer.CrowdModule
 
Nested classes/interfaces inherited from class com.threerings.presents.server.PresentsServer
PresentsServer.PresentsModule, PresentsServer.PresentsServerModule
 
Field Summary
 com.threerings.resource.ResourceManager rsrcmgr
          A resource manager with which we can load resources in the same manner that the client does (for resources that are used on both the server and client).
static com.threerings.media.tile.TileManager tilemgr
          Provides access to our tile repository.
 
Fields inherited from class com.threerings.crowd.server.CrowdServer
_bodyman, _chatprov, _locman, _plreg, PROVIDERS_KEY
 
Fields inherited from class com.threerings.presents.server.PresentsServer
_authInvoker, _clmgr, _conmgr, _datagramReader, _invmgr, _invoker, _lifecycle, _omgr, _socketAcceptor, invmgr, omgr
 
Constructor Summary
StageServer()
           
 
Method Summary
protected  String getResourceConfig()
          Returns the path to the configuration file for the resource manager that will be created for use by the server.
 void init(com.google.inject.Injector injector)
           
 
Methods inherited from class com.threerings.crowd.server.CrowdServer
main
 
Methods inherited from class com.threerings.presents.server.PresentsServer
createDefaultObjectAccessController, createSocketAcceptor, getBindHostname, getDatagramHostname, getDatagramPorts, getListenPorts, invokerDidShutdown, openToThePublic, queueShutdown, registerSignalHandlers, run, runServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rsrcmgr

public com.threerings.resource.ResourceManager rsrcmgr
A resource manager with which we can load resources in the same manner that the client does (for resources that are used on both the server and client).


tilemgr

public static com.threerings.media.tile.TileManager tilemgr
Provides access to our tile repository.

Constructor Detail

StageServer

public StageServer()
Method Detail

init

public void init(com.google.inject.Injector injector)
          throws Exception
Overrides:
init in class WhirledServer
Throws:
Exception

getResourceConfig

protected String getResourceConfig()
Returns the path to the configuration file for the resource manager that will be created for use by the server. This is a resource path (meaning it should be relative to the resource prefix (which is rsrc).