T - the type of result expected by the listener.public class IgnoreConfirmAdapter<T> extends Object implements ResultListener<T>
ResultListener to a InvocationService.ConfirmListener wherein the
result is ignored. If the failure is an instance fo InvocationException the message will
be passed on to the confirm listener, otherwise they will be provided with InvocationCodes.INTERNAL_ERROR.ResultListener.NOOP<T>NOOP| Constructor and Description |
|---|
IgnoreConfirmAdapter(InvocationService.ConfirmListener listener)
Creates an adapter with the supplied listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
requestCompleted(T result) |
void |
requestFailed(Exception cause) |
public IgnoreConfirmAdapter(InvocationService.ConfirmListener listener)
public void requestCompleted(T result)
requestCompleted in interface ResultListener<T>public void requestFailed(Exception cause)
requestFailed in interface ResultListener<T>Copyright © 2015. All rights reserved.