/** * Create a {@link ClientCall} on a Channel from the pool chosen in a round-robin fashion to the * remote operation specified by the given {@link MethodDescriptor}. The returned {@link * ClientCall} does not trigger any remote behavior until {@link * ClientCall#start(ClientCall.Listener, io.grpc.Metadata)} is invoked. */ @Override public <ReqT, RespT> ClientCall<ReqT, RespT> newCall( MethodDescriptor<ReqT, RespT> methodDescriptor, CallOptions callOptions) { return getNextChannel().newCall(methodDescriptor, callOptions); }
/** * Create a {@link ClientCall} on a Channel from the pool chosen in a round-robin fashion to the * remote operation specified by the given {@link MethodDescriptor}. The returned {@link * ClientCall} does not trigger any remote behavior until {@link * ClientCall#start(ClientCall.Listener, io.grpc.Metadata)} is invoked. */ @Override public <ReqT, RespT> ClientCall<ReqT, RespT> newCall( MethodDescriptor<ReqT, RespT> methodDescriptor, CallOptions callOptions) { return getNextChannel().newCall(methodDescriptor, callOptions); }