public interface DispatchServiceAsync
com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl.
This class is closely related to DispatchAsync, in theory the latter
wouldn't be needed, but we use it to workaround a GWT limitation described in
com.gwtplatform.dispatch.rpc.client.DispatchAsync.com.gwtplatform.dispatch.client.DispatchAsync,
com.gwtplatform.dispatch.rpc.server.Dispatch,
com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl,
DispatchService,
DispatchServiceAsync,
com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl| Modifier and Type | Method and Description |
|---|---|
<R extends Result> |
execute(String cookieSentByRPC,
Action<R> action,
AsyncCallback<R> callback)
This method is called client-side whenever a new action is executed.
|
<R extends Result> |
undo(String cookieSentByRPC,
Action<R> action,
R result,
AsyncCallback<Void> callback)
This method is called client-side whenever a previous executed action need to be undone.
|
<R extends Result> Request execute(String cookieSentByRPC, Action<R> action, AsyncCallback<R> callback)
Copyright © 2010–2015 Arcbees. All rights reserved.