|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EventResponseCallback
For Event API calls that support long-polling, this callback is used to handle the result on success or failure for an async HTTP call.
| Method Summary | |
|---|---|
void |
onComplete(EventResponse EventResponse)
Callback for a successful EventResponse. |
void |
onFailure(java.lang.Throwable throwable)
Callback for an unsuccessful request. |
| Method Detail |
|---|
void onComplete(EventResponse EventResponse)
EventResponse.
EventResponse - The Consul event response.void onFailure(java.lang.Throwable throwable)
throwable - The exception thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||