public class EchoCommand extends Object implements WsCommand<EchoRequest>
| Constructor and Description |
|---|
EchoCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.hawkular.bus.common.BasicMessageWithExtraData<EchoRequest> message,
WsCommandContext context)
Performs the command for the given
message. |
public void execute(org.hawkular.bus.common.BasicMessageWithExtraData<EchoRequest> message, WsCommandContext context) throws IOException
WsCommandmessage.execute in interface WsCommand<EchoRequest>message - the request to executecontext - some context data that can be useful for the command to be able to execute the requestIOExceptionCopyright © 2015–2016 Red Hat. All rights reserved.