com.threerings.micasa.simulator.server
Class SimulatorProvider

java.lang.Object
  extended by com.threerings.micasa.simulator.server.SimulatorProvider
All Implemented Interfaces:
InvocationProvider

public class SimulatorProvider
extends Object
implements InvocationProvider

The simulator provider handles game creation requests on the server side, passing them off to the SimulatorManager.


Field Summary
protected  SimulatorManager _simmgr
          The simulator manager.
 
Constructor Summary
SimulatorProvider(SimulatorManager simmgr)
          Constructs a simulator provider.
 
Method Summary
 void createGame(ClientObject caller, GameConfig config, String simClass, int playerCount)
          Processes a request from the client to create a new game.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_simmgr

protected SimulatorManager _simmgr
The simulator manager.

Constructor Detail

SimulatorProvider

public SimulatorProvider(SimulatorManager simmgr)
Constructs a simulator provider.

Method Detail

createGame

public void createGame(ClientObject caller,
                       GameConfig config,
                       String simClass,
                       int playerCount)
Processes a request from the client to create a new game.