public class LoggingCallback extends Object implements CommandCallback<Object,Object>
Modifier and Type | Field and Description |
---|---|
static LoggingCallback |
INSTANCE
The singleton instance for this callback
|
Modifier and Type | Method and Description |
---|---|
void |
onResult(CommandMessage message,
CommandResultMessage commandResultMessage)
Invoked when command handling execution is completed.
|
public static final LoggingCallback INSTANCE
public void onResult(CommandMessage message, CommandResultMessage commandResultMessage)
CommandCallback
onResult
in interface CommandCallback<Object,Object>
message
- the CommandMessage
that was dispatchedcommandResultMessage
- the CommandResultMessage
of the command handling executionCopyright © 2010–2020. All rights reserved.