Package io.grpc.internal
Class ManagedChannelImpl.RealChannel
java.lang.Object
io.grpc.Channel
io.grpc.internal.ManagedChannelImpl.RealChannel
- Enclosing class:
ManagedChannelImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final Channel
private final AtomicReference
<InternalConfigSelector> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe authority of the destination this channel connects to.<ReqT,
RespT>
ClientCall<ReqT, RespT> newCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) Create aClientCall
to the remote operation specified by the givenMethodDescriptor
.private <ReqT,
RespT>
ClientCall<ReqT, RespT> newClientCall
(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) (package private) void
(package private) void
shutdown()
(package private) void
(package private) void
-
Field Details
-
configSelector
-
authority
-
clientCallImplChannel
-
-
Constructor Details
-
RealChannel
-
-
Method Details
-
newCall
public <ReqT,RespT> ClientCall<ReqT,RespT> newCall(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) Description copied from class:Channel
Create aClientCall
to the remote operation specified by the givenMethodDescriptor
. The returnedClientCall
does not trigger any remote behavior untilClientCall.start(ClientCall.Listener, Metadata)
is invoked.- Specified by:
newCall
in classChannel
- Parameters:
method
- describes the name and parameter types of the operation to call.callOptions
- runtime options to be applied to this call.- Returns:
- a
ClientCall
bound to the specified method.
-
updateConfigSelector
-
onConfigError
void onConfigError() -
shutdown
void shutdown() -
shutdownNow
void shutdownNow() -
authority
Description copied from class:Channel
The authority of the destination this channel connects to. Typically this is in the formathost:port
. -
newClientCall
private <ReqT,RespT> ClientCall<ReqT,RespT> newClientCall(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions)
-