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 classNested classes/interfaces inherited from class 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) voidCalled when it's ready to create a real call and reprocess the pending call.Methods inherited from class 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:
callCancelledin classDelayedClientCall<ReqT,RespT>
-