com.threerings.micasa.simulator.data
Class SimulatorMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller
      extended by com.threerings.micasa.simulator.data.SimulatorMarshaller
All Implemented Interfaces:
Streamable, SimulatorService, InvocationService

@Generated(value="com.threerings.presents.tools.GenServiceTask",
           comments="Derived from SimulatorService.java.")
public class SimulatorMarshaller
extends InvocationMarshaller
implements SimulatorService

Provides the implementation of the SimulatorService interface that marshalls the arguments and delivers the request to the provider on the server. Also provides an implementation of the response listener interfaces that marshall the response arguments and deliver them back to the requesting client.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.data.InvocationMarshaller
InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshaller
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static int CREATE_GAME
          The method id used to dispatch createGame(com.threerings.parlor.game.data.GameConfig, java.lang.String, int) requests.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller
_invCode, _invdir, _invOid
 
Constructor Summary
SimulatorMarshaller()
           
 
Method Summary
 void createGame(GameConfig arg1, String arg2, int arg3)
          Requests that a new game be created.
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller
getInvocationCode, init, readField__invCode, readField__invOid, readObject, sendRequest, sendRequest, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE_GAME

public static final int CREATE_GAME
The method id used to dispatch createGame(com.threerings.parlor.game.data.GameConfig, java.lang.String, int) requests.

See Also:
Constant Field Values
Constructor Detail

SimulatorMarshaller

public SimulatorMarshaller()
Method Detail

createGame

public void createGame(GameConfig arg1,
                       String arg2,
                       int arg3)
Description copied from interface: SimulatorService
Requests that a new game be created.

Specified by:
createGame in interface SimulatorService
Parameters:
arg1 - the game config for the game to be created.
arg2 - the class name of the simulant to create.
arg3 - the number of players in the game.