|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller<ClientObject>
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 |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
_invCode, _invdir, _invOid |
| Constructor Summary | |
|---|---|
PeerMarshaller()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
getInvocationCode, init, readObject, sendRequest, sendRequest, 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(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.
| Constructor Detail |
|---|
public PeerMarshaller()
| Method Detail |
|---|
public void generateReport(String arg1,
InvocationService.ResultListener arg2)
PeerService
generateReport in interface PeerServicearg1 - the type of report to generate. See ReportManager for more information.public void invokeAction(byte[] arg1)
PeerService
invokeAction in interface PeerService
public void invokeRequest(byte[] arg1,
InvocationService.ResultListener arg2)
PeerService
invokeRequest in interface PeerService
public void ratifyLockAction(NodeObject.Lock arg1,
boolean arg2)
PeerService
ratifyLockAction in interface PeerService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||