|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PeerService
Defines requests made from one peer to another.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener |
| Method Summary | |
|---|---|
void |
generateReport(String type,
InvocationService.ResultListener listener)
Generates a server status report for this peer and returns it to the supplied listener. |
void |
invokeAction(byte[] serializedAction)
Requests that the specified action be invoked on this server. |
void |
invokeRequest(byte[] serializedAction,
InvocationService.ResultListener listener)
Requests that the specified request be invoked on this server and wants a confirmation when it's complete. |
void |
ratifyLockAction(NodeObject.Lock lock,
boolean acquire)
Informs the node that the sending peer ratifies its acquisition or release of the specified lock. |
| Method Detail |
|---|
void ratifyLockAction(NodeObject.Lock lock,
boolean acquire)
void invokeAction(byte[] serializedAction)
void invokeRequest(byte[] serializedAction,
InvocationService.ResultListener listener)
void generateReport(String type,
InvocationService.ResultListener listener)
type - the type of report to generate. See ReportManager for more information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||