com.threerings.micasa.simulator.server
Class SimpleServer

java.lang.Object
  extended by com.threerings.presents.server.PresentsServer
      extended by com.threerings.crowd.server.CrowdServer
          extended by com.threerings.micasa.server.MiCasaServer
              extended by com.threerings.micasa.simulator.server.SimpleServer
All Implemented Interfaces:
SimulatorServer

public class SimpleServer
extends MiCasaServer
implements SimulatorServer

A simple simulator server implementation that extends the MiCasa server.


Nested Class Summary
 
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
protected  SimulatorManager _simmgr
           
 
Fields inherited from class com.threerings.micasa.server.MiCasaServer
_lobreg, _parmgr
 
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
SimpleServer()
           
 
Method Summary
 void init(com.google.inject.Injector injector, ResultListener<SimulatorServer> obs)
          Called to initialize this server instance.
 
Methods inherited from class com.threerings.micasa.server.MiCasaServer
init, 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
 
Methods inherited from interface com.threerings.micasa.simulator.server.SimulatorServer
run
 

Field Detail

_simmgr

@Inject
protected SimulatorManager _simmgr
Constructor Detail

SimpleServer

public SimpleServer()
Method Detail

init

public void init(com.google.inject.Injector injector,
                 ResultListener<SimulatorServer> obs)
          throws Exception
Description copied from interface: SimulatorServer
Called to initialize this server instance.

Specified by:
init in interface SimulatorServer
obs - the observer to notify when the server has finished starting up, or null if no notification is desired.
Throws:
Exception - thrown if anything goes wrong initializing the server.