Package io.github.centrifugal.centrifuge
Interface CompletionCallback
-
public interface CompletionCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDone()
Called when operation successfully completed.void
onFailure(java.lang.Throwable e)
Called when the request could not be executed due to cancellation, a connectivity problem or timeout.
-
-
-
Method Detail
-
onFailure
void onFailure(java.lang.Throwable e)
Called when the request could not be executed due to cancellation, a connectivity problem or timeout. Because networks can fail during an exchange, it is possible that the remote server accepted the request before the failure.
-
onDone
void onDone()
Called when operation successfully completed.
-
-