public class TimeoutCallback<T>
extends java.lang.Object
Constructor and Description |
---|
TimeoutCallback(int timeout,
NotamCallback<T> callback) |
TimeoutCallback(NotamCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
void |
doOnTimeout() |
void |
onFailure(java.lang.Throwable caught) |
void |
onSuccess(T result) |
public TimeoutCallback(NotamCallback<T> callback)
public TimeoutCallback(int timeout, NotamCallback<T> callback)
public void doOnTimeout()
public void onFailure(java.lang.Throwable caught)
public void onSuccess(T result)