com.gwtplatform.dispatch.client.actionhandler
Interface ExecuteCommand<A extends Action<R>,R extends Result>
- Type Parameters:
A
- The Action
type.R
- The Result
type.
public interface ExecuteCommand<A extends Action<R>,R extends Result>
The interface that ClientActionHandler
s use to send the action to
execute to the server over gwt-rpc.
- Author:
- Brendan Doherty
Method Summary |
DispatchRequest |
execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> resultCallback)
Execute an action. |
execute
DispatchRequest execute(A action,
com.google.gwt.user.client.rpc.AsyncCallback<R> resultCallback)
- Execute an action.
- Parameters:
action
- The action to execute.resultCallback
- A callback that will be invoked once the action has
been executed, successfully or not.
- Returns:
- A
DispatchRequest
representing the gwt-rpc request, it
should never be null
.
Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.