Package io.github.centrifugal.centrifuge
Interface PublishCallback
public interface PublishCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDone(PublishResult reply)
Called when the publish reply was successfully returned by remote server.void
Called when the request could not be executed due to cancellation, a connectivity problem or timeout.
-
Method Details
-
onFailure
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
Called when the publish reply was successfully returned by remote server. Note that it still can contain Error.
-