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

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

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

Registers an UnlistenEvent which will be transferred to other clients/users when that user/client gets a timeout or deregisters a RemoteEventListener.

Author:
sstrohschein
Date: 07.07.2009
Time: 23:22:43

Constructor Summary
RegistrationUnlistenEventCommand(UnlistenEventListener.Scope anUnlistenScope, RemoteEventConnector aRemoteEventConnector, UnlistenEvent anUnlistenEvent, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aVoidAsyncCallback)
          Creates an ServerCallCommand to execute and handle server calls.
 
Method Summary
 void execute()
          Registers an UnlistenEvent.
 
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

RegistrationUnlistenEventCommand

public RegistrationUnlistenEventCommand(UnlistenEventListener.Scope anUnlistenScope,
                                        RemoteEventConnector aRemoteEventConnector,
                                        UnlistenEvent anUnlistenEvent,
                                        com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aVoidAsyncCallback)
Creates an ServerCallCommand to execute and handle server calls.

Parameters:
anUnlistenScope - scope of the unlisten events to receive
aRemoteEventConnector - RemoteEventConnector
anUnlistenEvent - UnlistenEvent will be transferred to other clients/users when that user/client gets a timeout or deregisters a RemoteEventListener.
aVoidAsyncCallback - callback of the command
Method Detail

execute

public void execute()
Registers an UnlistenEvent.