Hi -
As a client is there any means of knowing the state of the connection? If I have several endpoints that could service a request is there anything look at the ManagedChannel that would indicate to choose one over the other?
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e8b9bcd0-7318-4128-b4b6-d6aea19cdd96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/479124a7-c8f3-4938-807e-ab795b48b3e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks .. So when I bring down the remote server Current state goes from READY to IDLE . the channel stays in shutdown terminated both to false.
It seems to stay that way.
I should have pointed out that when queried the state I was using .getState(true);
The true vs false on getState was still a mystery. As you indicate it never did anything for me. I think if it was working it would be beneficial. What I'm trying to achieve was prioritize which endpoints are most likely to succeed to try them first. Nothing I did took an IDLE to RUNNING except an actual RPC but then that would be too late.