de.novanic.eventservice.client.event.command
Interface ClientCommand<R>

All Known Implementing Classes:
ActivationCommand, DeactivationCommand, DeregistrationEventFilterCommand, InitEventServiceCommand, RegistrationEventFilterCommand, RegistrationUnlistenEventCommand, ServerCallCommand

public interface ClientCommand<R>

Command which is used at the client side.

Author:
sstrohschein
Date: 27.03.2009
Time: 23:29:21

Method Summary
 void execute()
          Executes the command at the client side.
 com.google.gwt.user.client.rpc.AsyncCallback<R> getCommandCallback()
          Returns the callback of the command.
 

Method Detail

execute

void execute()
Executes the command at the client side. getCommandCallback() can be used to get the callback when the command


getCommandCallback

com.google.gwt.user.client.rpc.AsyncCallback<R> getCommandCallback()
Returns the callback of the command. That can be used to get the callback when the command executes a server call.

Returns:
callback of the command