public class EventExecutionCommand extends ServerCallCommand<Void>
EventExecutionCommand
sends an event to a domain or to the
sending / calling user (user-specific event, when the DomainFactory.USER_SPECIFIC_DOMAIN
is used).Constructor and Description |
---|
EventExecutionCommand(RemoteEventConnector aRemoteEventConnector,
Domain aDomain,
Event anEvent,
AsyncCallback<Void> aCallback)
Creates an EventExecutionCommand to send / register events to the server side.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Sends / registers the event to the server side (domain- or user-specific events)
|
getCommandCallback, getRemoteEventConnector
public EventExecutionCommand(RemoteEventConnector aRemoteEventConnector, Domain aDomain, Event anEvent, AsyncCallback<Void> aCallback)
aRemoteEventConnector
- RemoteEventConnector
aDomain
- domainanEvent
- eventaCallback
- callback of the commandpublic void execute()
Copyright © 2012. All Rights Reserved.