Re: [grpc-io] Re: Channel hooks/interceptors in C++ ?

2018-04-18 Thread yashkt via grpc.io
I'm sorry I didn't realize that you were trying to do this on the server 
side. I don't think we have anything like that on the server side. As far 
as I know, we don't expose those details. What exactly are you trying to 
achieve?
On Thursday, April 12, 2018 at 10:58:06 AM UTC-7, Robert Bielik wrote:
>
> Hmm... how do I get hold of the channel on the server side? 
>
>
> Den tors 12 apr 2018 01:28yashkt via grpc.io  > 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+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/c2a6c04d-1b0d-4e77-ab90-02a95a534f78%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+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/2dc39e1c-700a-4e94-8467-93012c353079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [grpc-io] Re: Channel hooks/interceptors in C++ ?

2018-04-12 Thread Robert Bielik
Hmm... how do I get hold of the channel on the server side?


Den tors 12 apr 2018 01:28yashkt via grpc.io 
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
> 
> .
> 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.