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

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

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

Activates the listen cycle for event listening and registers the client/user for a domain (server side).

Author:
sstrohschein
Date: 27.03.2009
Time: 23:31:34

Constructor Summary
ActivationCommand(RemoteEventConnector aRemoteEventConnector, Domain aDomain, EventFilter anEventFilter, EventNotification anEventNotification, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aCallback)
          Creates an ActivationCommand (activates the listen cycle for event listening)
 
Method Summary
 void execute()
          Registers the client for event listening for a specified domain and starts the event listening cycle.
 
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

ActivationCommand

public ActivationCommand(RemoteEventConnector aRemoteEventConnector,
                         Domain aDomain,
                         EventFilter anEventFilter,
                         EventNotification anEventNotification,
                         com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aCallback)
Creates an ActivationCommand (activates the listen cycle for event listening)

Parameters:
aRemoteEventConnector - RemoteEventConnector
aDomain - Domain domain/context for event listening
anEventFilter - EventFilter to filter events
anEventNotification - EventNotification to get informed about incoming events
aCallback - callback for the command
Method Detail

execute

public void execute()
Registers the client for event listening for a specified domain and starts the event listening cycle.