On Wed, Oct 1, 2014 at 11:15 AM, Shakthi Kannan <[email protected]>
 wrote:

> Hi Yogeshwar,
>
> Can you provide an update on the cppagent JSON emitter?
>
 \-
 Hi Sir,
 By mistake , I replied only to you, sorry for that.
 I will use rapidjson <https://github.com/charany1/rapidjson> library
,since it's header only C++ library for parsing json and doesn't depend on
BOOST / STL.
 As you directed , I read code in those four xml_* files in  agent and also
other material available online on Manufacturing Technology Connectivity.

 Issue I am facing is that I am not able to able to understand :
 1)Adaptor(Simulator)-Agent interface: In code how and where, is simulator
passing time|key|value lines to agent, once it is clear to me it would be
quite easy to take input from simulator and using rapidjson , dump json to
client.

2)Agent -Client interface: How curl is acting as client? How is xml data
being supplied to terminal when :

$ curl localhost:5000/current

It would be great if you can please elaborate a bit on these points and
also give me some tips as to how to read c++ code iin a better manner.

Regards,
Yogeshwar
_______________________________________________
Users mailing list
[email protected]
http://lists.dgplug.org/listinfo.cgi/users-dgplug.org

Reply via email to