|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller
com.threerings.presents.peer.data.PeerMarshaller
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from PeerService.java.")
public class PeerMarshaller
Provides the implementation of the 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshaller |
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener |
| Field Summary | |
|---|---|
static int |
GENERATE_REPORT
The method id used to dispatch generateReport(com.threerings.presents.client.Client, java.lang.String, com.threerings.presents.client.InvocationService.ResultListener) requests. |
static int |
INVOKE_ACTION
The method id used to dispatch invokeAction(com.threerings.presents.client.Client, byte[]) requests. |
static int |
INVOKE_REQUEST
The method id used to dispatch invokeRequest(com.threerings.presents.client.Client, byte[], com.threerings.presents.client.InvocationService.ResultListener) requests. |
static int |
RATIFY_LOCK_ACTION
The method id used to dispatch ratifyLockAction(com.threerings.presents.client.Client, com.threerings.presents.peer.data.NodeObject.Lock, boolean) requests. |
| Fields inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
_invCode, _invOid |
| Constructor Summary | |
|---|---|
PeerMarshaller()
|
|
| Method Summary | |
|---|---|
void |
generateReport(Client arg1,
String arg2,
InvocationService.ResultListener arg3)
Generates a server status report for this peer and returns it to the supplied listener. |
void |
invokeAction(Client arg1,
byte[] arg2)
Requests that the specified action be invoked on this server. |
void |
invokeRequest(Client arg1,
byte[] arg2,
InvocationService.ResultListener arg3)
Requests that the specified request be invoked on this server and wants a confirmation when it's complete. |
void |
ratifyLockAction(Client arg1,
NodeObject.Lock arg2,
boolean arg3)
Informs the node that the sending peer ratifies its acquisition or release of the specified lock. |
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
getInvocationCode, init, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int GENERATE_REPORT
generateReport(com.threerings.presents.client.Client, java.lang.String, com.threerings.presents.client.InvocationService.ResultListener) requests.
public static final int INVOKE_ACTION
invokeAction(com.threerings.presents.client.Client, byte[]) requests.
public static final int INVOKE_REQUEST
invokeRequest(com.threerings.presents.client.Client, byte[], com.threerings.presents.client.InvocationService.ResultListener) requests.
public static final int RATIFY_LOCK_ACTION
ratifyLockAction(com.threerings.presents.client.Client, com.threerings.presents.peer.data.NodeObject.Lock, boolean) requests.
| Constructor Detail |
|---|
public PeerMarshaller()
| Method Detail |
|---|
public void generateReport(Client arg1,
String arg2,
InvocationService.ResultListener arg3)
PeerService
generateReport in interface PeerServicearg2 - the type of report to generate. See ReportManager for more information.
public void invokeAction(Client arg1,
byte[] arg2)
PeerService
invokeAction in interface PeerService
public void invokeRequest(Client arg1,
byte[] arg2,
InvocationService.ResultListener arg3)
PeerService
invokeRequest in interface PeerService
public void ratifyLockAction(Client arg1,
NodeObject.Lock arg2,
boolean arg3)
PeerService
ratifyLockAction in interface PeerService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||