1 //******************************************************************
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 #include "OCResourceHandler.h"
8 #include "MyObserverHandler.h"
12 class MyMultiResourceHandler :
13 public OCResourceHandler
16 void onFoundResource(OCResourceResult *update, void *params);
21 MyObserverHandler myObserverHandler;
23 /// This is a private function to perform operations related to dimmer resource
24 void performDimmerOperations(OCResource myResource, OCResourceResult *update);
26 /// This is a private function to perform operations related to door resource
27 void performDoorOperations(OCResource myResource, OCResourceResult *update);