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 Classes Modifier and Type Class Description (package private) class
ManagedChannelImpl.RealChannel.PendingCall.PendingCallRemoval
-
Nested classes/interfaces inherited from class io.grpc.ClientCall
ClientCall.Listener<T>
-
-
Field Summary
Fields Modifier and Type Field Description private long
callCreationTime
(package private) CallOptions
callOptions
(package private) Context
context
(package private) MethodDescriptor<ReqT,RespT>
method
-
Constructor Summary
Constructors Constructor Description PendingCall(Context context, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
callCancelled()
(package private) void
reprocess()
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 Detail
-
context
final Context context
-
method
final MethodDescriptor<ReqT,RespT> method
-
callOptions
final CallOptions callOptions
-
callCreationTime
private final long callCreationTime
-
-
Constructor Detail
-
PendingCall
PendingCall(Context context, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions)
-
-
Method Detail
-
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>
-
-