public class RpcDispatchAsync extends Object implements DispatchAsync
DispatchAsync, which is
essentially the client-side access to the Dispatch class on the
server-side.| Modifier and Type | Method and Description |
|---|---|
<A extends Action<R>,R extends Result> |
execute(A action,
AsyncCallback<R> callback)
This method is called client-side whenever a new action is executed.
|
protected <A extends Action<R>,R extends Result> |
prepareExecute(A action) |
protected void |
prepareService(ServiceDefTarget service,
String moduleUrl,
String relativeServiceUrl) |
protected <A extends Action<R>,R extends Result> |
prepareUndo(A action) |
<A extends Action<R>,R extends Result> |
undo(A action,
R result,
AsyncCallback<Void> callback)
This method is called client-side whenever a previous executed action need to be undone.
|
public <A extends Action<R>,R extends Result> DispatchRequest execute(A action, AsyncCallback<R> callback)
DispatchAsyncpublic <A extends Action<R>,R extends Result> DispatchRequest undo(A action, R result, AsyncCallback<Void> callback)
DispatchAsyncprotected void prepareService(ServiceDefTarget service, String moduleUrl, String relativeServiceUrl)
Copyright © 2010-2014 ArcBees. All Rights Reserved.