public interface RpcDispatchHooks
DispatchCall.
onExecute(Action, boolean) will be called just before any action is attempted.onSuccess(Action, Result, boolean) will be called when any action succeeds.onFailure(Action , Throwable, boolean) will be called when any action fails.| Modifier and Type | Method and Description |
|---|---|
<R extends Result> |
onExecute(Action<R> action,
boolean undo) |
<R extends Result> |
onFailure(Action<R> action,
Throwable caught,
boolean undo) |
<R extends Result> |
onSuccess(Action<R> action,
R result,
boolean undo) |
Copyright © 2010–2017 Arcbees. All rights reserved.