ReqT - type of call argumentRespT - type of call returnpublic class UnaryCall<ReqT,RespT>
extends io.grpc.ClientCall.Listener<RespT>
| Constructor and Description |
|---|
UnaryCall(String traceId,
io.grpc.ClientCall<ReqT,RespT> call,
GrpcStatusHandler statusConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(io.grpc.Status status,
io.grpc.Metadata trailers) |
void |
onMessage(RespT value) |
CompletableFuture<Result<RespT>> |
startCall(ReqT request,
io.grpc.Metadata headers) |
public UnaryCall(String traceId, io.grpc.ClientCall<ReqT,RespT> call, GrpcStatusHandler statusConsumer)
Copyright © 2024. All rights reserved.