public final class NoOpCallback extends Object implements CommandCallback<Object,Object>
NoOpCallback.INSTANCE
. A generics-compatible alternative is provided by NoOpCallback.<C>instance()
.Modifier and Type | Field and Description |
---|---|
static NoOpCallback |
INSTANCE
A statically available instance of the NoOpCallback.
|
Constructor and Description |
---|
NoOpCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onResult(CommandMessage<?> commandMessage,
CommandResultMessage<?> commandResultMessage)
Invoked when command handling execution is completed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static final NoOpCallback INSTANCE
public void onResult(@Nonnull CommandMessage<?> commandMessage, @Nonnull CommandResultMessage<?> commandResultMessage)
onResult
in interface CommandCallback<Object,Object>
commandMessage
- the CommandMessage
that was dispatchedcommandResultMessage
- the CommandResultMessage
of the command handling executionCopyright © 2010–2024. All rights reserved.