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 ofClientCallthat fails when started.
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.Statuserror
-
Constructor Summary
Constructors Constructor Description FailingClientCall(io.grpc.Status error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel(java.lang.String message, java.lang.Throwable cause)voidhalfClose()voidrequest(int numMessages)voidsendMessage(ReqT message)voidstart(io.grpc.ClientCall.Listener<RespT> listener, io.grpc.Metadata headers)
-
-
-
Method Detail
-
start
public void start(io.grpc.ClientCall.Listener<RespT> listener, io.grpc.Metadata headers)
-
request
public void request(int numMessages)
-
cancel
public void cancel(java.lang.String message, java.lang.Throwable cause)
-
-