Re: [grpc-io] Re: gRPC server side access timeout deadline?

2016-09-28 Thread mathias
This works Thanks On Wednesday, September 28, 2016 at 1:29:41 AM UTC+2, Michael Rose wrote: > > You can access it via the Context: > > Deadline deadline = Context.current().getDeadline(); > > Keep in mind, Context is thread local, so if you dispatch to another > thread you'll need to ensure that

Re: [grpc-io] Re: gRPC server side access timeout deadline?

2016-09-27 Thread Michael Rose
You can access it via the Context: Deadline deadline = Context.current().getDeadline(); Keep in mind, Context is thread local, so if you dispatch to another thread you'll need to ensure that state is transferred or just extract the Deadline and pass that around. -MR On Thursday, September 22,

Re: [grpc-io] Re: gRPC server side access timeout deadline?

2016-09-22 Thread Mathias Chouilly
In java On Thu, Sep 22, 2016 at 4:46 PM, Nathaniel Manista wrote: > On Thu, Sep 22, 2016 at 7:39 AM, wrote: > >> I'm having the same trouble finding documentation and/or examples for how >> a server can get the timeout deadline from a client call. >> Is it possible ? >> > > In what language are

Re: [grpc-io] Re: gRPC server side access timeout deadline?

2016-09-22 Thread 'Nathaniel Manista' via grpc.io
On Thu, Sep 22, 2016 at 7:39 AM, wrote: > I'm having the same trouble finding documentation and/or examples for how > a server can get the timeout deadline from a client call. > Is it possible ? > In what language are you writing your service-side code? -Nathaniel -- You received this message

[grpc-io] Re: gRPC server side access timeout deadline?

2016-09-22 Thread mathias
Hello, I'm having the same trouble finding documentation and/or examples for how a server can get the timeout deadline from a client call. Is it possible ? Thanks, Mathias On Saturday, December 19, 2015 at 12:30:50 AM UTC+1, ili...@luminatewireless.com wrote: > > Hello, > > I'm having troubl