|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.client.command.DefaultRemoteCommand<T>
public abstract class DefaultRemoteCommand<T>
A RemoteCommand can be used to execute a call from client to the server side. The possibility to queue RemoteCommands is one of the advantages.
| Constructor Summary | |
|---|---|
DefaultRemoteCommand()
|
|
| Method Summary | |
|---|---|
com.google.gwt.user.client.rpc.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(com.google.gwt.user.client.rpc.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.novanic.eventservice.client.command.RemoteCommand |
|---|
execute |
| Constructor Detail |
|---|
public DefaultRemoteCommand()
| Method Detail |
|---|
public void init(com.google.gwt.user.client.rpc.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 com.google.gwt.user.client.rpc.AsyncCallback<T> getCallback()
RemoteCommand.init(com.google.gwt.user.client.rpc.AsyncCallback))
getCallback in interface RemoteCommand<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||