| Modifier and Type | Class and Description |
|---|---|
static interface |
StaticStreamObserver.StreamCallback |
| Constructor and Description |
|---|
StaticStreamObserver(io.grpc.ClientCall<Object,Object> clientCall,
StaticStreamObserver.StreamCallback callback)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<String>> |
getFuture() |
void |
onCompleted() |
void |
onError(Throwable throwable) |
void |
onNext(Object message) |
public StaticStreamObserver(@NonNull
io.grpc.ClientCall<Object,Object> clientCall,
@Nullable
StaticStreamObserver.StreamCallback callback)
clientCall - The callcallback - Callback to be executed on every element of the Streampublic CompletableFuture<List<String>> getFuture()
public void onNext(Object message)
onNext in interface io.grpc.stub.StreamObserver<Object>public void onError(Throwable throwable)
onError in interface io.grpc.stub.StreamObserver<Object>public void onCompleted()
onCompleted in interface io.grpc.stub.StreamObserver<Object>Copyright © 2019. All rights reserved.