de.novanic.eventservice.client.event.command
Class InitEventServiceCommand

java.lang.Object
  extended by de.novanic.eventservice.client.event.command.ServerCallCommand<java.lang.Void>
      extended by de.novanic.eventservice.client.event.command.InitEventServiceCommand
All Implemented Interfaces:
ClientCommand<java.lang.Void>

public class InitEventServiceCommand
extends ServerCallCommand<java.lang.Void>

Initializes the server/service connection. That is only used as the first server call.

Author:
sstrohschein
Date: 01.04.2009
Time: 23:51:21

Constructor Summary
InitEventServiceCommand(RemoteEventConnector aRemoteEventConnector, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aCallback)
          Creates an InitEventServiceCommand (initializes the server/service connection on first server call).
 
Method Summary
 void execute()
          Initializes the server/service connection.
 
Methods inherited from class de.novanic.eventservice.client.event.command.ServerCallCommand
getCommandCallback, getRemoteEventConnector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitEventServiceCommand

public InitEventServiceCommand(RemoteEventConnector aRemoteEventConnector,
                               com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aCallback)
Creates an InitEventServiceCommand (initializes the server/service connection on first server call).

Parameters:
aRemoteEventConnector - RemoteEventConnector
aCallback - callback of the command
Method Detail

execute

public void execute()
Initializes the server/service connection.