public abstract class NotifyOnceListener<Response> extends java.lang.Object implements ActionListener<Response>
| Constructor and Description |
|---|
NotifyOnceListener() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
innerOnFailure(java.lang.Exception e) |
protected abstract void |
innerOnResponse(Response response) |
void |
onFailure(java.lang.Exception e)
A failure caused by an exception at some phase of the task.
|
void |
onResponse(Response response)
Handle action response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonFailure, onResponse, toBiConsumer, wrap, wrapprotected abstract void innerOnResponse(Response response)
protected abstract void innerOnFailure(java.lang.Exception e)
public final void onResponse(Response response)
ActionListeneronResponse in interface ActionListener<Response>public final void onFailure(java.lang.Exception e)
ActionListeneronFailure in interface ActionListener<Response>