DispatchAsync
.@Deprecated public interface DispatchAsync
DispatchImpl
.
This class is closely related to DispatchServiceAsync
. In theory this
class wouldn't be needed, but we use it to workaround a GWT limitation. In
fact, GWT currently can't correctly handle having generic method templates in
method signatures (eg. <A> A create( Class type )
)DispatchAsync
,
Dispatch
,
DispatchImpl
,
DispatchService
,
DispatchServiceAsync
,
DispatchServiceImpl
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
execute(A action,
AsyncCallback<R> callback)
Deprecated.
This method is called client-side whenever a new action is executed.
|
<A extends Action<R>,R extends Result> |
undo(A action,
R result,
AsyncCallback<Void> callback)
Deprecated.
This method is called client-side whenever a previous executed action need
to be undone.
|
<A extends Action<R>,R extends Result> DispatchRequest execute(A action, AsyncCallback<R> callback)
<A extends Action<R>,R extends Result> DispatchRequest undo(A action, R result, AsyncCallback<Void> callback)
Copyright © 2010-2014 ArcBees. All Rights Reserved.