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, wait
onFailure, onResponse, toBiConsumer, wrap, wrap
protected abstract void innerOnResponse(Response response)
protected abstract void innerOnFailure(java.lang.Exception e)
public final void onResponse(Response response)
ActionListener
onResponse
in interface ActionListener<Response>
public final void onFailure(java.lang.Exception e)
ActionListener
onFailure
in interface ActionListener<Response>