Hmm... how do I get hold of the channel on the server side?

Den tors 12 apr 2018 01:28yashkt via grpc.io <grpc-io@googlegroups.com>
skrev:

> 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 a topic in the
> Google Groups "grpc.io" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/grpc-io/ZlxrVNp9yTM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@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/c2a6c04d-1b0d-4e77-ab90-02a95a534f78%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/c2a6c04d-1b0d-4e77-ab90-02a95a534f78%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@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/CAEvHzA2GJtA%3Dep8tUY4R6U4Qi-WaKH7K0_ZveTZczvTkcVADMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to