Hi Pat, This detail information query for observer list could be done from C API already, If the Application using C API is capable of it and at the same time Application using C++ API cannot, there will be in consistency from the capability point of view between C and C++ API. As far as I know, the purpose of the C++ API is not restriction of function but easy to us with C++ wrapping. Please understand this is not the additional feature but already supported feature from the base layer.
If you believe this kind of access should be restricted from the C++ API user even though the my explanation, let us think about it #IF DEF way for simulator exclusive iotivity library build. BR, Uze Choi From: Lankswert, Patrick [mailto:[email protected]] Sent: Wednesday, September 02, 2015 12:09 AM To: h.marappa at samsung.com Cc: uzchoi at samsung.com; iotivity-dev at lists.iotivity.org Subject: RE: Adding address and port information for ObservationInfo structure. Harish, I appreciate your point of view, but actually having the application take over control of the notification is a bad idea. The behavior of observation is very clear and not negotiable. Leaving this behavior to the application opens the door for violation of software/network standard contract and should be discouraged. If you want a behavior that is like observe, but not exactly observe, you should design an alternate notification mechanism. That said, I will look at your changes. If they do not break the observe contract, I will accept them. Pat From: Harish Kumara Marappa [mailto:[email protected]] Sent: Tuesday, September 01, 2015 5:56 AM To: Lankswert, Patrick Cc: uzchoi at samsung.com; iotivity-dev at lists.iotivity.org Subject: Adding address and port information for ObservationInfo structure. Hi Mr. Patrick, We have requirement in simulator module of providing more information about observer rather than just giving the observation id. >From application point of view it make sense if user has more information about observer to take the control of notifying his interested observers. We have modified RI C++ layer in the same regard and submitted patch for review https://gerrit.iotivity.org/gerrit/#/c/2323/. Please provide your inputs on the change set. Regards, Harish Kumara M Image removed by sender. -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150902/38786e32/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: ?????? ?? ????????. URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150902/38786e32/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 823 bytes Desc: ?????? ?? ????????. URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150902/38786e32/attachment.jpg>
