public class UiSessionDestinationWsCommand extends Object implements WsCommand<UiSessionDestination>
WsCommand that transfers messages implementing UiSessionDestination from a feed WebSocket to a bus
endpoint to be delivered to a UI WebSocket.
This particular command implementation always puts the message on the
Constants.UI_COMMAND_QUEUE bus endpoint.
| Constructor and Description |
|---|
UiSessionDestinationWsCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(BasicMessageWithExtraData<UiSessionDestination> message,
WsCommandContext context)
Performs the command for the given
message. |
public void execute(BasicMessageWithExtraData<UiSessionDestination> message, WsCommandContext context) throws Exception
WsCommandmessage.execute in interface WsCommand<UiSessionDestination>message - the request to executecontext - some context data that can be useful for the command to be able to execute the requestException - if failed to execute the operationCopyright © 2014–2016 Red Hat, Inc.. All rights reserved.