Em sexta-feira, 9 de dezembro de 2016, ?s 16:23:12 PST, Gregg Reynolds escreveu: > On Dec 9, 2016 4:10 PM, "Justin Hutchings via iotivity-dev" < > iotivity-dev at lists.iotivity.org> wrote: > > Hi all, > > We?ve had a couple of questions regarding the Introspection code, > > > what is that?
Introspection is a term that came from D-Bus, through AllJoyn/AllSeen. It's similar to Java's reflection support. The idea is that a device contains machine-parseable information about itself, such as what resource types it supports, what the properties in those resources mean, their value ranges, etc. There are many uses for this, including facilitating code development by way of code generation and linking to documentation online, as well as permitting the existence of a generic client of any device, instead of something specialised to a given set of resource possibilities. Does this help? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
