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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static final LoggingCallback INSTANCE
public void onResult(@Nonnull CommandMessage message, @Nonnull CommandResultMessage commandResultMessage)
CommandCallback
onResult
in interface CommandCallback<Object,Object>
message
- the CommandMessage
that was dispatchedcommandResultMessage
- the CommandResultMessage
of the command handling executionCopyright © 2010–2023. All rights reserved.