Initial merge-commit of the OIC code. Should successfully do discovery for single...
[platform/upstream/iotivity.git] / OCLib / OCServer.cpp
1 //******************************************************************
2 //
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
5
6 #include "OCServer.h"
7 #include "OCReflect.h"
8
9 namespace OC {
10         OCServer::OCServer(void)
11         {
12         }
13
14
15         OCServer::~OCServer(void)
16         {
17         }
18
19         void OCServer::setSecurityModel(OCSecurityModel model) {
20         }
21
22         void OCServer::registerResource(OCObject *object, std::string url/* TODO: , AccessControl accessControl */) {
23         }
24
25         void OCServer::unregisterResource(OCObject *object) {
26         }
27
28         void OCServer::start() {
29         }
30
31         void OCServer::stop() {
32         }
33
34     void OCServer::bind(const OC::OCReflect::method_binding& mb)
35     {
36         method_bindings[mb.name] = mb;            
37     }
38 }