Re: [grpc-io] grpc IoT agent

2017-08-13 Thread Nicolas Noble
The solution I would offer is something along these lines: the client does a streaming call "ListenForInstructions" and the server responds to it with a stream of "Instruction" messages. On Sun, Aug 13, 2017 at 9:48 AM, Tim Hughes wrote: > > > I have been trying to work this out, does it make se

[grpc-io] grpc IoT agent

2017-08-13 Thread Tim Hughes
I have been trying to work this out, does it make sense in grpc to have an agent which initiates a connection with the controller and then have the controller make requests of the agent. I am starting to implement a IoT "thing" which starts up and connects to a central server then you can use