com.threerings.crowd.data
Class LocationMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller<ClientObject>
com.threerings.crowd.data.LocationMarshaller
- All Implemented Interfaces:
- LocationService, Streamable, InvocationService<ClientObject>
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from LocationService.java.")
public class LocationMarshaller- extends InvocationMarshaller<ClientObject>
- implements LocationService
Provides the implementation of the LocationService 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.
|
Method Summary |
void |
leavePlace()
Requests that we leave our current place and move to nowhere land. |
void |
moveTo(int arg1,
LocationService.MoveListener arg2)
Requests that this client's body be moved to the specified location. |
LEAVE_PLACE
public static final int LEAVE_PLACE
- The method id used to dispatch
leavePlace() requests.
- See Also:
- Constant Field Values
MOVE_TO
public static final int MOVE_TO
- The method id used to dispatch
moveTo(int, com.threerings.crowd.client.LocationService.MoveListener) requests.
- See Also:
- Constant Field Values
LocationMarshaller
public LocationMarshaller()
leavePlace
public void leavePlace()
- Description copied from interface:
LocationService
- Requests that we leave our current place and move to nowhere land.
- Specified by:
leavePlace in interface LocationService
moveTo
public void moveTo(int arg1,
LocationService.MoveListener arg2)
- Description copied from interface:
LocationService
- Requests that this client's body be moved to the specified location.
- Specified by:
moveTo in interface LocationService
- Parameters:
arg1 - the object id of the place object to which the body should be moved.arg2 - the listener that will be informed of success or failure.