public static interface PubSubRpc.PullCallback
PubSubRpc.PullFuture objects. Objects of this class allow
to asynchronously react to the success or failure of a pull RPC.| Modifier and Type | Method and Description |
|---|---|
void |
failure(Throwable error)
This method is invoked when the
PubSubRpc.PullFuture failed or was cancelled. |
void |
success(com.google.pubsub.v1.PullResponse response)
This method is invoked with the result of a
PubSubRpc.PullFuture when it was successful. |
void success(com.google.pubsub.v1.PullResponse response)
PubSubRpc.PullFuture when it was successful.response - the pull responsevoid failure(Throwable error)
PubSubRpc.PullFuture failed or was cancelled.error - the execption that caused the PubSubRpc.PullFuture to failCopyright © 2016 Google. All rights reserved.