1 //******************************************************************
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 #ifndef _IN_PROC_SERVER_WRAPPER_H_
7 #define _IN_PROC_SERVER_WRAPPER_H_
13 #include <IServerWrapper.h>
14 #include <OCReflect.h>
16 using namespace OC::OCReflect;
20 class InProcServerWrapper : public IServerWrapper
23 InProcServerWrapper(PlatformConfig cfg);
24 virtual ~InProcServerWrapper();
26 void registerResource( const std::string& resourceURI,
27 const std::string& resourceTypeName,
28 named_property_binding_vector properties);
32 std::thread m_processThread;
34 std::mutex m_csdkLock;