@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from LocationService.java.")
public class LocationMarshaller
extends InvocationMarshaller<ClientObject>
implements LocationService
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.| Modifier and Type | Class and Description |
|---|---|
static class |
LocationMarshaller.MoveMarshaller
Marshalls results to implementations of
LocationService.MoveListener. |
InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshallerLocationService.MoveListenerInvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListenerStreamable.Closure| Modifier and Type | Field and Description |
|---|---|
static int |
LEAVE_PLACE
The method id used to dispatch
leavePlace() requests. |
static int |
MOVE_TO
The method id used to dispatch
moveTo(int, com.threerings.crowd.client.LocationService.MoveListener) requests. |
| Constructor and Description |
|---|
LocationMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getInvocationCode, init, readObject, setInvocationOid, setNoResponse, toStringpublic static final int LEAVE_PLACE
leavePlace() requests.public static final int MOVE_TO
moveTo(int, com.threerings.crowd.client.LocationService.MoveListener) requests.public void leavePlace()
LocationServiceleavePlace in interface LocationServicepublic void moveTo(int arg1,
LocationService.MoveListener arg2)
LocationServicemoveTo in interface LocationServicearg1 - 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.Copyright © 2015. All rights reserved.