Package io.grpc.alts
Class FailingClientCall<ReqT,RespT>
java.lang.Object
io.grpc.ClientCall<ReqT,RespT>
io.grpc.alts.FailingClientCall<ReqT,RespT>
final class FailingClientCall<ReqT,RespT>
extends io.grpc.ClientCall<ReqT,RespT>
An implementation of
ClientCall
that fails when started.-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.ClientCall
io.grpc.ClientCall.Listener<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.grpc.ClientCall
getAttributes, isReady, setMessageCompression
-
Field Details
-
error
private final io.grpc.Status error
-
-
Constructor Details
-
FailingClientCall
public FailingClientCall(io.grpc.Status error)
-
-
Method Details
-
start
-
request
public void request(int numMessages) -
cancel
-
halfClose
public void halfClose() -
sendMessage
-