@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from PeerService.java.")
public class PeerMarshaller
extends InvocationMarshaller<ClientObject>
implements PeerService
PeerService 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.InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshallerInvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListenerStreamable.Closure| Modifier and Type | Field and Description |
|---|---|
static int |
GENERATE_REPORT
The method id used to dispatch
generateReport(java.lang.String, com.threerings.presents.client.InvocationService.ResultListener) requests. |
static int |
INVOKE_ACTION
The method id used to dispatch
invokeAction(byte[]) requests. |
static int |
INVOKE_REQUEST
The method id used to dispatch
invokeRequest(byte[], com.threerings.presents.client.InvocationService.ResultListener) requests. |
static int |
RATIFY_LOCK_ACTION
The method id used to dispatch
ratifyLockAction(com.threerings.presents.peer.data.NodeObject.Lock, boolean) requests. |
| Constructor and Description |
|---|
PeerMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateReport(String arg1,
InvocationService.ResultListener arg2)
Generates a server status report for this peer and returns it to the supplied listener.
|
void |
invokeAction(byte[] arg1)
Requests that the specified action be invoked on this server.
|
void |
invokeRequest(byte[] arg1,
InvocationService.ResultListener arg2)
Requests that the specified request be invoked on this server and wants a confirmation
when it's complete.
|
void |
ratifyLockAction(NodeObject.Lock arg1,
boolean arg2)
Informs the node that the sending peer ratifies its acquisition or release of the specified
lock.
|
getInvocationCode, init, readObject, setInvocationOid, setNoResponse, toStringpublic static final int GENERATE_REPORT
generateReport(java.lang.String, com.threerings.presents.client.InvocationService.ResultListener) requests.public static final int INVOKE_ACTION
invokeAction(byte[]) requests.public static final int INVOKE_REQUEST
invokeRequest(byte[], com.threerings.presents.client.InvocationService.ResultListener) requests.public static final int RATIFY_LOCK_ACTION
ratifyLockAction(com.threerings.presents.peer.data.NodeObject.Lock, boolean) requests.public void generateReport(String arg1, InvocationService.ResultListener arg2)
PeerServicegenerateReport in interface PeerServicearg1 - the type of report to generate. See ReportManager for more information.public void invokeAction(byte[] arg1)
PeerServiceinvokeAction in interface PeerServicepublic void invokeRequest(byte[] arg1,
InvocationService.ResultListener arg2)
PeerServiceinvokeRequest in interface PeerServicepublic void ratifyLockAction(NodeObject.Lock arg1, boolean arg2)
PeerServiceratifyLockAction in interface PeerServiceCopyright © 2015. All rights reserved.