public abstract class DefaultRemoteCommand<T> extends Object implements RemoteCommand<T>
| Constructor and Description |
|---|
DefaultRemoteCommand() |
| Modifier and Type | Method and Description |
|---|---|
AsyncCallback<T> |
getCallback()
Returns the callback, which can be set with the link method
(
RemoteCommand.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
RemoteCommand.execute(de.novanic.eventservice.client.event.service.EventServiceAsync) |
boolean |
isInitialized()
Checks if the RemoteCommand is initialized with a callback.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic DefaultRemoteCommand()
public void init(AsyncCallback<T> aCallback)
RemoteCommand.execute(de.novanic.eventservice.client.event.service.EventServiceAsync)init in interface RemoteCommand<T>aCallback - callbackpublic boolean isInitialized()
isInitialized in interface RemoteCommand<T>RemoteCommand.init(com.google.gwt.user.client.rpc.AsyncCallback))
was called with a callback, false when the RemoteCommand wasn't initialized with a callback.public AsyncCallback<T> getCallback()
RemoteCommand.init(com.google.gwt.user.client.rpc.AsyncCallback))getCallback in interface RemoteCommand<T>Copyright © 2012. All Rights Reserved.