com.threerings.tudey.data
Class TudeySceneMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller
      extended by com.threerings.tudey.data.TudeySceneMarshaller
All Implemented Interfaces:
com.threerings.io.Streamable, com.threerings.presents.client.InvocationService, TudeySceneService

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

Provides the implementation of the TudeySceneService 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
com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshaller
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
com.threerings.presents.client.InvocationService.ConfirmListener, com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
static int ENQUEUE_INPUT_RELIABLE
          The method id used to dispatch enqueueInputReliable(int, int, com.threerings.tudey.data.InputFrame[]) requests.
static int ENQUEUE_INPUT_UNRELIABLE
          The method id used to dispatch enqueueInputUnreliable(int, int, com.threerings.tudey.data.InputFrame[]) requests.
static int ENTERED_PLACE
          The method id used to dispatch enteredPlace() requests.
static int SET_CAMERA_PARAMS
          The method id used to dispatch setCameraParams(com.threerings.tudey.config.CameraConfig, float) requests.
static int SET_TARGET
          The method id used to dispatch setTarget(int) requests.
static int SUBMIT_ACTOR_REQUEST
          The method id used to dispatch submitActorRequest(int, java.lang.String) requests.
static int SUBMIT_ENTRY_REQUEST
          The method id used to dispatch submitEntryRequest(java.lang.Object, java.lang.String) requests.
 
Constructor Summary
TudeySceneMarshaller()
           
 
Method Summary
 void enqueueInputReliable(int arg1, int arg2, InputFrame[] arg3)
          Requests to enqueue a batch of input frames recorded on the client (reliable version).
 void enqueueInputUnreliable(int arg1, int arg2, InputFrame[] arg3)
          Requests to enqueue a batch of input frames recorded on the client (unreliable version).
 void enteredPlace()
          Notifies the server that the client has successfully entered the place.
 void setCameraParams(CameraConfig arg1, float arg2)
          Requests to change the client's camera parameters (which affect its area of interest).
 void setTarget(int arg1)
          Requests to track the specified pawn.
 void submitActorRequest(int arg1, String arg2)
          Submits a request related to the identified actor.
 void submitEntryRequest(Object arg1, String arg2)
          Submits a request related to the identified scene entry.
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller
getInvocationCode, init, readField__invCode, readField__invOid, readObject, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENQUEUE_INPUT_RELIABLE

public static final int ENQUEUE_INPUT_RELIABLE
The method id used to dispatch enqueueInputReliable(int, int, com.threerings.tudey.data.InputFrame[]) requests.

See Also:
Constant Field Values

ENQUEUE_INPUT_UNRELIABLE

public static final int ENQUEUE_INPUT_UNRELIABLE
The method id used to dispatch enqueueInputUnreliable(int, int, com.threerings.tudey.data.InputFrame[]) requests.

See Also:
Constant Field Values

ENTERED_PLACE

public static final int ENTERED_PLACE
The method id used to dispatch enteredPlace() requests.

See Also:
Constant Field Values

SET_CAMERA_PARAMS

public static final int SET_CAMERA_PARAMS
The method id used to dispatch setCameraParams(com.threerings.tudey.config.CameraConfig, float) requests.

See Also:
Constant Field Values

SET_TARGET

public static final int SET_TARGET
The method id used to dispatch setTarget(int) requests.

See Also:
Constant Field Values

SUBMIT_ACTOR_REQUEST

public static final int SUBMIT_ACTOR_REQUEST
The method id used to dispatch submitActorRequest(int, java.lang.String) requests.

See Also:
Constant Field Values

SUBMIT_ENTRY_REQUEST

public static final int SUBMIT_ENTRY_REQUEST
The method id used to dispatch submitEntryRequest(java.lang.Object, java.lang.String) requests.

See Also:
Constant Field Values
Constructor Detail

TudeySceneMarshaller

public TudeySceneMarshaller()
Method Detail

enqueueInputReliable

public void enqueueInputReliable(int arg1,
                                 int arg2,
                                 InputFrame[] arg3)
Description copied from interface: TudeySceneService
Requests to enqueue a batch of input frames recorded on the client (reliable version).

Specified by:
enqueueInputReliable in interface TudeySceneService
Parameters:
arg1 - the timestamp of the last delta received by the client.
arg2 - the client's smoothed server time estimate.

enqueueInputUnreliable

public void enqueueInputUnreliable(int arg1,
                                   int arg2,
                                   InputFrame[] arg3)
Description copied from interface: TudeySceneService
Requests to enqueue a batch of input frames recorded on the client (unreliable version).

Specified by:
enqueueInputUnreliable in interface TudeySceneService
Parameters:
arg1 - the timestamp of the last delta received by the client.
arg2 - the client's smoothed server time estimate.

enteredPlace

public void enteredPlace()
Description copied from interface: TudeySceneService
Notifies the server that the client has successfully entered the place.

Specified by:
enteredPlace in interface TudeySceneService

setCameraParams

public void setCameraParams(CameraConfig arg1,
                            float arg2)
Description copied from interface: TudeySceneService
Requests to change the client's camera parameters (which affect its area of interest).

Specified by:
setCameraParams in interface TudeySceneService

setTarget

public void setTarget(int arg1)
Description copied from interface: TudeySceneService
Requests to track the specified pawn. This is only valid for clients that do not control a pawn of their own.

Specified by:
setTarget in interface TudeySceneService

submitActorRequest

public void submitActorRequest(int arg1,
                               String arg2)
Description copied from interface: TudeySceneService
Submits a request related to the identified actor.

Specified by:
submitActorRequest in interface TudeySceneService

submitEntryRequest

public void submitEntryRequest(Object arg1,
                               String arg2)
Description copied from interface: TudeySceneService
Submits a request related to the identified scene entry.

Specified by:
submitEntryRequest in interface TudeySceneService


Copyright © 2011. All Rights Reserved.