public class CompleteObserver<T> extends Object implements io.grpc.stub.StreamObserver<T>
| 构造器和说明 |
|---|
CompleteObserver() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
getCompletionFuture()
Returns a future which completes when the rpc finishes.
|
void |
onCompleted() |
void |
onError(Throwable t) |
void |
onNext(T next) |
public void onCompleted()
onCompleted 在接口中 io.grpc.stub.StreamObserver<T>public com.google.common.util.concurrent.ListenableFuture<Void> getCompletionFuture()
Copyright © 2021 dromara. All rights reserved.