Initial merge-commit of the OIC code. Should successfully do discovery for single...
[platform/upstream/iotivity.git] / include / IServerWrapper.h
1 //******************************************************************
2 //
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
5
6 #ifndef _I_SERVER_WRAPPER_H_
7 #define _I_SERVER_WRAPPER_H_
8
9 #include <memory>
10 #include <string>
11
12 #include <OCReflect.h>
13
14 using namespace OC::OCReflect;
15
16 namespace OC
17 {
18     class IServerWrapper
19     {
20     public:
21         typedef std::shared_ptr<IServerWrapper> Ptr;
22
23         virtual ~IServerWrapper(){};
24
25         // TODO: SASHI : parameters by reference???
26         virtual void registerResource(  const std::string& resourceURI, 
27                                 const std::string& resourceTypeName,
28                                 named_property_binding_vector properties) = 0; 
29     };
30 }
31
32 #endif