R - the type of result of the command handlingC - the type of payload of the command@FunctionalInterface public interface CommandCallback<C,R>
| Modifier and Type | Method and Description |
|---|---|
void |
onResult(CommandMessage<? extends C> commandMessage,
CommandResultMessage<? extends R> commandResultMessage)
Invoked when command handling execution is completed.
|
void onResult(CommandMessage<? extends C> commandMessage, CommandResultMessage<? extends R> commandResultMessage)
commandMessage - the CommandMessage that was dispatchedcommandResultMessage - the CommandResultMessage of the command handling executionCopyright © 2010–2018. All rights reserved.