public class RegistrationUnlistenEventCommand extends ServerCallCommand<Void>
UnlistenEvent
which will be transferred to
other clients/users when that user/client gets a timeout or deregisters a RemoteEventListener
.Constructor and Description |
---|
RegistrationUnlistenEventCommand(UnlistenEventListener.Scope anUnlistenScope,
RemoteEventConnector aRemoteEventConnector,
UnlistenEvent anUnlistenEvent,
AsyncCallback<Void> aVoidAsyncCallback)
Creates an ServerCallCommand to execute and handle server calls.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Registers an
UnlistenEvent . |
getCommandCallback, getRemoteEventConnector
public RegistrationUnlistenEventCommand(UnlistenEventListener.Scope anUnlistenScope, RemoteEventConnector aRemoteEventConnector, UnlistenEvent anUnlistenEvent, AsyncCallback<Void> aVoidAsyncCallback)
anUnlistenScope
- scope of the unlisten events to receiveaRemoteEventConnector
- 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 commandpublic void execute()
UnlistenEvent
.Copyright © 2012. All Rights Reserved.