Hi,

I wonder what should happen in the following scenario:


   - A client registered an observer for a server resource.
   - That server resource is gracefully terminated by the server, for
   example using OcPlatform.unregisterResource() of Java API.

Questions:

   - Does the spec require the server to notify the "observing" client?
   - From IoTivity API perspective, assuming both client and server use
   IoTivity - should the client code get an error?

>From my experience with a client using Java API, in some cases the error
callback provided when calling the observe() method of OcResource is
called, but in other cases there is no notification or callback.


Best regards
Max.


-- 
Max Kholmyansky
Software Architect - SURE Universal Ltd.
http://www.sureuniversal.com

Reply via email to