A
- The action type.R
- The result type.public interface ExecuteCommand<A,R>
ClientActionHandler
s use to send the action to execute to the server.Modifier and Type | Method and Description |
---|---|
DispatchRequest |
execute(A action,
AsyncCallback<R> resultCallback)
Execute an action.
|
DispatchRequest execute(A action, AsyncCallback<R> resultCallback)
action
- The action to execute.resultCallback
- A callback that will be invoked once the action has been executed, successfully or not.DispatchRequest
representing the request, it should never be null
.Copyright © 2010–2014 Arcbees. All rights reserved.