com.threerings.crowd.data
Class LocationMarshaller.MoveMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
      extended by com.threerings.crowd.data.LocationMarshaller.MoveMarshaller
All Implemented Interfaces:
LocationService.MoveListener, Streamable, InvocationService.InvocationListener
Enclosing class:
LocationMarshaller

public static class LocationMarshaller.MoveMarshaller
extends InvocationMarshaller.ListenerMarshaller
implements LocationService.MoveListener

Marshalls results to implementations of LocationService.MoveListener.


Field Summary
static int MOVE_SUCCEEDED
          The method id used to dispatch moveSucceeded(com.threerings.crowd.data.PlaceConfig) responses.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
_invId, callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport
 
Constructor Summary
LocationMarshaller.MoveMarshaller()
           
 
Method Summary
 void dispatchResponse(int methodId, Object[] args)
          Called to dispatch an invocation response to our target listener.
 void moveSucceeded(PlaceConfig arg1)
          Called in response to a successful LocationService.moveTo(com.threerings.presents.client.Client, int, com.threerings.crowd.client.LocationService.MoveListener) request.
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
finalize, requestFailed, setInvocationId, setNoResponse, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.threerings.presents.client.InvocationService.InvocationListener
requestFailed
 

Field Detail

MOVE_SUCCEEDED

public static final int MOVE_SUCCEEDED
The method id used to dispatch moveSucceeded(com.threerings.crowd.data.PlaceConfig) responses.

See Also:
Constant Field Values
Constructor Detail

LocationMarshaller.MoveMarshaller

public LocationMarshaller.MoveMarshaller()
Method Detail

moveSucceeded

public void moveSucceeded(PlaceConfig arg1)
Description copied from interface: LocationService.MoveListener
Called in response to a successful LocationService.moveTo(com.threerings.presents.client.Client, int, com.threerings.crowd.client.LocationService.MoveListener) request.

Specified by:
moveSucceeded in interface LocationService.MoveListener

dispatchResponse

public void dispatchResponse(int methodId,
                             Object[] args)
Description copied from class: InvocationMarshaller.ListenerMarshaller
Called to dispatch an invocation response to our target listener.

Overrides:
dispatchResponse in class InvocationMarshaller.ListenerMarshaller