replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / include / OutOfProcServerWrapper.h
index 5fc209e..9f5b21c 100644 (file)
@@ -18,8 +18,8 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#ifndef _OUT_OF_PROC_SERVER_WRAPPER_H_
-#define _OUT_OF_PROC_SERVER_WRAPPER_H_
+#ifndef OC_OUT_OF_PROC_SERVER_WRAPPER_H_
+#define OC_OUT_OF_PROC_SERVER_WRAPPER_H_
 
 #include <OCApi.h>
 
@@ -28,58 +28,82 @@ namespace OC
     class OutOfProcServerWrapper : public IServerWrapper
     {
     public:
-        OutOfProcServerWrapper(OC::OCPlatform_impl& owner, PlatformConfig cfg)
-         : IServerWrapper(owner)
-        {};
+        OutOfProcServerWrapper(PlatformConfig /*cfg*/)
+        {}
+
+        virtual OCStackResult stop()
+        {
+            return OC_STACK_NOTIMPL;
+        }
+
+        virtual OCStackResult start()
+        {
+            return OC_STACK_NOTIMPL;
+        }
 
         virtual OCStackResult registerResource(
-                    OCResourceHandle& resourceHandle,
-                    std::string& resourceURI,
-                    const std::string& resourceTypeName,
-                    const std::string& resourceInterface,
-                    EntityHandler& entityHandler,
-                    uint8_t resourceProperty)
+            OCResourceHandle& /*resourceHandle*/,
+            std::string& /*resourceURI*/,
+            const std::string& /*resourceTypeName*/,
+            const std::string& /*resourceInterface*/,
+            EntityHandler& /*entityHandler*/,
+            uint8_t /*resourceProperty*/)
+        {
+            // Not implemented
+            return OC_STACK_NOTIMPL;
+        }
+
+        virtual OCStackResult registerDeviceInfo(
+            const OCDeviceInfo /*deviceInfo*/)
+        {
+            // Not implemented
+            return OC_STACK_NOTIMPL;
+        }
 
+        virtual OCStackResult registerPlatformInfo(
+            const OCPlatformInfo /*deviceInfo*/)
+        {
+            // Not implemented
+            return OC_STACK_NOTIMPL;
+        }
+
+        virtual OCStackResult registerResourceWithHost(
+            OCResourceHandle& /*resourceHandle*/,
+            std::string& /*resourceHOST*/,
+            std::string& /*resourceURI*/,
+            const std::string& /*resourceTypeName*/,
+            const std::string& /*resourceInterface*/,
+            EntityHandler& /*entityHandler*/,
+            uint8_t /*resourceProperty*/)
         {
             // Not implemented
             return OC_STACK_NOTIMPL;
         }
-               virtual OCStackResult registerResourceWithHost(
-                    OCResourceHandle& resourceHandle,
-                    std::string& resourceHOST,
-                    std::string& resourceURI,
-                    const std::string& resourceTypeName,
-                    const std::string& resourceInterface,
-                    EntityHandler& entityHandler,
-                    uint8_t resourceProperty)
-               {
-                       return OC_STACK_NOTIMPL;
-               }
 
         virtual OCStackResult unregisterResource(
-                     const OCResourceHandle& resourceHandle)
+            const OCResourceHandle& /*resourceHandle*/)
         {
             //Not implemented yet
             return OC_STACK_ERROR;
         }
 
        virtual OCStackResult bindTypeToResource(
-                     const OCResourceHandle& resourceHandle,
-                     const std::string& resourceTypeName)
+           const OCResourceHandle& /*resourceHandle*/,
+           const std::string& /*resourceTypeName*/)
         {
             //Not implemented yet
             return OC_STACK_NOTIMPL;
         }
 
         virtual OCStackResult bindInterfaceToResource(
-                     const OCResourceHandle& resourceHandle,
-                     const std::string& resourceInterfaceName)
+            const OCResourceHandle& /*resourceHandle*/,
+            const std::string& /*resourceInterfaceName*/)
         {
             //Not implemented yet
             return OC_STACK_NOTIMPL;
         }
 
-        virtual OCStackResult startPresence(const unsigned int seconds)
+        virtual OCStackResult startPresence(const unsigned int /*seconds*/)
         {
             //Not implemented yet
             return OC_STACK_NOTIMPL;
@@ -91,12 +115,19 @@ namespace OC
             return OC_STACK_NOTIMPL;
         }
 
-
-        virtual OCStackResult setDefaultDeviceEntityHandler(EntityHandler entityHandler)
+        virtual OCStackResult setDefaultDeviceEntityHandler(
+            EntityHandler /*entityHandler*/)
         {
             //Not implemented yet
             return OC_STACK_NOTIMPL;
         }
+
+        virtual OCStackResult sendResponse(
+            const std::shared_ptr<OCResourceResponse> /*pResponse*/)
+        {
+           //Not implemented yet
+           return OC_STACK_NOTIMPL;
+        }
     };
 }