com.threerings.stage.server
Class StageServer
java.lang.Object
com.threerings.presents.server.PresentsServer
com.threerings.crowd.server.CrowdServer
com.threerings.whirled.server.WhirledServer
com.threerings.stage.server.StageServer
public abstract class StageServer
- extends WhirledServer
Extends the Whirled server to provide services needed by the Stage system.
| Fields inherited from class com.threerings.presents.server.PresentsServer |
_authInvoker, _clmgr, _conmgr, _datagramReader, _invmgr, _invoker, _lifecycle, _omgr, _socketAcceptor, invmgr, omgr |
|
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.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 |
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.
StageServer
public StageServer()
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).