public class ActivationCommand extends ServerCallCommand<Void>
Constructor and Description |
---|
ActivationCommand(RemoteEventConnector aRemoteEventConnector,
Domain aDomain,
EventFilter anEventFilter,
EventNotification anEventNotification,
AsyncCallback<Void> aCallback)
Creates an ActivationCommand (activates the listen cycle for event listening)
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Registers the client for event listening for a specified domain and starts the event listening cycle.
|
getCommandCallback, getRemoteEventConnector
public ActivationCommand(RemoteEventConnector aRemoteEventConnector, Domain aDomain, EventFilter anEventFilter, EventNotification anEventNotification, AsyncCallback<Void> aCallback)
aRemoteEventConnector
- RemoteEventConnector
aDomain
- Domain
domain/context for event listeninganEventFilter
- EventFilter
to filter eventsanEventNotification
- EventNotification
to get informed about incoming eventsaCallback
- callback for the commandpublic void execute()
Copyright © 2012. All Rights Reserved.