You can call GetState on the channel to know the current state of the channel.
On Monday, April 9, 2018 at 12:30:46 AM UTC-7, Robert Bielik wrote: > > I'd like to be able to know when a (TCP) channel is connected > to/disconnected from my service. The grpc::Server::GlobalCallbacks seems to > give me this on a per-RPC level, but I need this on a session level. > > Regards > /Robert > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. 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/c2a6c04d-1b0d-4e77-ab90-02a95a534f78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.