public interface RemoteCommand<T>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(EventServiceAsync anEventService)
This method executes the RemoteCommand.
|
AsyncCallback<T> |
getCallback()
Returns the callback, which can be set with the link method
(
init(com.google.gwt.user.client.rpc.AsyncCallback)) |
void |
init(AsyncCallback<T> aCallback)
Initializes the RemoteCommand with a callback, which can also be used in the execute method
execute(de.novanic.eventservice.client.event.service.EventServiceAsync) |
boolean |
isInitialized()
Checks if the RemoteCommand is initialized with a callback.
|
void init(AsyncCallback<T> aCallback)
execute(de.novanic.eventservice.client.event.service.EventServiceAsync)aCallback - callbackboolean isInitialized()
init(com.google.gwt.user.client.rpc.AsyncCallback))
was called with a callback, false when the RemoteCommand wasn't initialized with a callback.void execute(EventServiceAsync anEventService)
EventService
and to the initialized callback (getCallback()).anEventService - EventServiceAsyncCallback<T> getCallback()
init(com.google.gwt.user.client.rpc.AsyncCallback))Copyright © 2012. All Rights Reserved.