public interface ResponseListener
| Modifier and Type | Method and Description |
|---|---|
void |
onCancelled(CancelledEvent event)
Callback when a request is cancelled
|
void |
onFailure(FailureEvent event)
Callback when a failure occurs on the client side (network issue, serializable error...)
|
void |
onFault(FaultEvent event)
Callback when a fault is received (usually server exceptions are received as faults)
|
void |
onResult(ResultEvent event)
Callback when a request has been successfully processed
|
void |
onTimeout(TimeoutEvent event)
Callback when a request times out
|
void onResult(ResultEvent event)
event - result event holding the result messagevoid onFault(FaultEvent event)
event - fault event holding the remote errorvoid onFailure(FailureEvent event)
event - failure event holding the local exceptionvoid onTimeout(TimeoutEvent event)
event - timeout event holding the local exceptionvoid onCancelled(CancelledEvent event)
event - cancel event holding the local exception