public class UiSessionDestinationBusCommand extends Object implements BusCommand<UiSessionDestination>
BusCommand that transfers messages implementing UiSessionDestination from a bus endpoint to a
WebSocket of a UI client.| Constructor and Description |
|---|
UiSessionDestinationBusCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(BasicMessageWithExtraData<UiSessionDestination> message,
BusCommandContext context)
This simply takes the given
message and sends it directly to the UI client over
that UI client's websocket connection. |
public void execute(BasicMessageWithExtraData<UiSessionDestination> message, BusCommandContext context) throws Exception
message and sends it directly to the UI client over
that UI client's websocket connection.execute in interface BusCommand<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 operationBusCommand.execute(org.hawkular.bus.common.BasicMessageWithExtraData,
org.hawkular.cmdgw.command.bus.BusCommandContext)Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.