Package io.grpc.xds
Class FaultFilter.FailingClientCall<ReqT,RespT>
- java.lang.Object
-
- io.grpc.ClientCall<ReqT,RespT>
-
- io.grpc.xds.FaultFilter.FailingClientCall<ReqT,RespT>
-
- Enclosing class:
- FaultFilter
private final class FaultFilter.FailingClientCall<ReqT,RespT> extends io.grpc.ClientCall<ReqT,RespT>
An implementation ofClientCall
that fails when started.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.concurrent.Executor
callExecutor
(package private) io.grpc.Context
context
(package private) io.grpc.Status
error
-
Constructor Summary
Constructors Constructor Description FailingClientCall(io.grpc.Status error, java.util.concurrent.Executor callExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel(java.lang.String message, java.lang.Throwable cause)
void
halfClose()
void
request(int numMessages)
void
sendMessage(ReqT message)
void
start(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)
-
-