[dev] Resource Discovery performance issue

2017-02-19 Thread Junghyun Oh
Hi Max, When a resource server gets the ?Discovery Request (which is multicast GET on /oic/res)?, it returns a list of resources it has back to the requesting resource client. However, it is the iotivity stack of the resource client which reads the list and call the ?foundResource? callback wit

[dev] Resource Discovery performance issue

2017-02-19 Thread Max Kholmyansky
Hi Jay, Thanks for the help. I wasn't aware of ?findResourceList(?.)? API in C++. >From what I saw in the code, this method does not exist in Java API, OcPlatform class. This is unfortunate. Will open an issue on that. Best regards, Max On Sun, Feb 19, 2017 at 4:54 PM, Junghyun Oh wrote: > Hi M

[dev] Resource Discovery performance issue

2017-02-19 Thread Max Kholmyansky
Hello, I wonder if IoTivity libraries provide an efficient programming model for discovering server resources, in case the list of the resources isn't known in advance. At the OCF spec level, to my best understanding, an OCF server responds to /oic/res with a single packet, containing the reporte