GWTP Dispatch client 0.6-redhat-2

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 ClientActionHandlers 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.
 

Method Detail

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.

GWTP Dispatch client 0.6-redhat-2

Copyright © 2010-2012 ArcBees. All Rights Reserved.