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.
|
public static final NoOpCallback INSTANCE
public void onResult(CommandMessage<?> commandMessage, CommandResultMessage<?> commandResultMessage)
onResult in interface CommandCallback<Object,Object>commandMessage - the CommandMessage that was dispatchedcommandResultMessage - the CommandResultMessage of the command handling executionCopyright © 2010–2018. All rights reserved.