com.threerings.stage.data
Class StageSceneMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller
      extended by com.threerings.stage.data.StageSceneMarshaller
All Implemented Interfaces:
Streamable, InvocationService, StageSceneService

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

Provides the implementation of the StageSceneService 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 ADD_OBJECT
          The method id used to dispatch addObject(com.threerings.miso.data.ObjectInfo, com.threerings.presents.client.InvocationService.ConfirmListener) requests.
static int REMOVE_OBJECTS
          The method id used to dispatch removeObjects(com.threerings.miso.data.ObjectInfo[], com.threerings.presents.client.InvocationService.ConfirmListener) requests.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller
_invCode, _invdir, _invOid
 
Constructor Summary
StageSceneMarshaller()
           
 
Method Summary
 void addObject(com.threerings.miso.data.ObjectInfo arg1, InvocationService.ConfirmListener arg2)
          Requests to add the supplied object to the current scene.
 void removeObjects(com.threerings.miso.data.ObjectInfo[] arg1, InvocationService.ConfirmListener arg2)
          Requests to remove the supplied objects from the current scene.
 
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

ADD_OBJECT

public static final int ADD_OBJECT
The method id used to dispatch addObject(com.threerings.miso.data.ObjectInfo, com.threerings.presents.client.InvocationService.ConfirmListener) requests.

See Also:
Constant Field Values

REMOVE_OBJECTS

public static final int REMOVE_OBJECTS
The method id used to dispatch removeObjects(com.threerings.miso.data.ObjectInfo[], com.threerings.presents.client.InvocationService.ConfirmListener) requests.

See Also:
Constant Field Values
Constructor Detail

StageSceneMarshaller

public StageSceneMarshaller()
Method Detail

addObject

public void addObject(com.threerings.miso.data.ObjectInfo arg1,
                      InvocationService.ConfirmListener arg2)
Description copied from interface: StageSceneService
Requests to add the supplied object to the current scene.

Specified by:
addObject in interface StageSceneService

removeObjects

public void removeObjects(com.threerings.miso.data.ObjectInfo[] arg1,
                          InvocationService.ConfirmListener arg2)
Description copied from interface: StageSceneService
Requests to remove the supplied objects from the current scene.

Specified by:
removeObjects in interface StageSceneService