public interface Command<REQ extends org.hawkular.bus.common.BasicMessage,RESP extends org.hawkular.bus.common.BasicMessage>
| Modifier and Type | Method and Description |
|---|---|
org.hawkular.bus.common.BasicMessageWithExtraData<RESP> |
execute(REQ request,
org.hawkular.bus.common.BinaryData binaryData,
CommandContext context)
Performs the command for the feed.
|
org.hawkular.bus.common.BasicMessageWithExtraData<RESP> execute(REQ request, org.hawkular.bus.common.BinaryData binaryData, CommandContext context) throws Exception
request - the request that describes what needs to be executedbinaryData - if not null, this contains extra binary data that came across with the command requestcontext - some context data that can be useful for the command to be able to execute the requestException - if failed to execute the operationCopyright © 2015 Red Hat. All rights reserved.