T
- the interface parameterization of AsyncProxy.public abstract static class AsyncProxy.ProxyCallback<T> extends Object
AsyncProxy.setProxyCallback(ProxyCallback)
.Constructor and Description |
---|
ProxyCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(T instance)
This method will be invoked by the AsyncProxy after method playback is
complete.
|
void |
onFailure(Throwable t)
Invokes the global uncaught exception handler.
|
void |
onInit(T instance)
This method will be called with the instance object before method replay
starts.
|
public void onComplete(T instance)
instance
- the instancepublic void onFailure(Throwable t)
public void onInit(T instance)
instance
- the instanceCopyright © 2018. All rights reserved.