Package io.grpc.internal
Class ManagedChannelImpl.RealChannel.PendingCall<ReqT,RespT>
java.lang.Object
io.grpc.ClientCall<ReqT,RespT>
io.grpc.internal.DelayedClientCall<ReqT,RespT>
io.grpc.internal.ManagedChannelImpl.RealChannel.PendingCall<ReqT,RespT>
- Enclosing class:
ManagedChannelImpl.RealChannel
private final class ManagedChannelImpl.RealChannel.PendingCall<ReqT,RespT>
extends DelayedClientCall<ReqT,RespT>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final class
Nested classes/interfaces inherited from class io.grpc.ClientCall
ClientCall.Listener<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
(package private) final CallOptions
(package private) final Context
(package private) final MethodDescriptor
<ReqT, RespT> -
Constructor Summary
ConstructorsConstructorDescriptionPendingCall
(Context context, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
(package private) void
Called when it's ready to create a real call and reprocess the pending call.Methods inherited from class io.grpc.internal.DelayedClientCall
cancel, getAttributes, getRealCall, halfClose, isReady, request, sendMessage, setCall, setMessageCompression, start, toString
-
Field Details
-
context
-
method
-
callOptions
-
callCreationTime
private final long callCreationTime
-
-
Constructor Details
-
PendingCall
PendingCall(Context context, MethodDescriptor<ReqT, RespT> method, CallOptions callOptions)
-
-
Method Details
-
reprocess
void reprocess()Called when it's ready to create a real call and reprocess the pending call. -
callCancelled
protected void callCancelled()- Overrides:
callCancelled
in classDelayedClientCall<ReqT,
RespT>
-