public abstract class ServerCallCommand<R> extends Object implements ClientCommand<R>
Modifier | Constructor and Description |
---|---|
protected |
ServerCallCommand(RemoteEventConnector aRemoteEventConnector,
AsyncCallback<R> aCallback)
Creates an ServerCallCommand to execute and handle server calls.
|
Modifier and Type | Method and Description |
---|---|
AsyncCallback<R> |
getCommandCallback()
Returns the callback of the command.
|
protected RemoteEventConnector |
getRemoteEventConnector()
Returns the registered
RemoteEventConnector . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected ServerCallCommand(RemoteEventConnector aRemoteEventConnector, AsyncCallback<R> aCallback)
aRemoteEventConnector
- RemoteEventConnector
aCallback
- callback of the commandprotected RemoteEventConnector getRemoteEventConnector()
RemoteEventConnector
.RemoteEventConnector
public AsyncCallback<R> getCommandCallback()
getCommandCallback
in interface ClientCommand<R>
Copyright © 2012. All Rights Reserved.