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