| Modifier and Type | Field and Description |
|---|---|
static Class<org.hawkular.cmdgw.api.EchoRequest> |
REQUEST_CLASS |
| Constructor and Description |
|---|
EchoCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.EchoResponse> |
execute(org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.EchoRequest> envelope,
CommandContext context)
Performs the command for the server.
|
public static final Class<org.hawkular.cmdgw.api.EchoRequest> REQUEST_CLASS
public org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.EchoResponse> execute(org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.EchoRequest> envelope,
CommandContext context)
Commandexecute in interface Command<org.hawkular.cmdgw.api.EchoRequest,org.hawkular.cmdgw.api.EchoResponse>envelope - the request that describes what needs to be executed eventually with attached BinaryDatacontext - contains data that can help commands do their jobCopyright © 2015 Red Hat, Inc.. All rights reserved.