1 //******************************************************************
3 // Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://www.apache.org/licenses/LICENSE-2.0
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21 #ifndef OC_OUT_OF_PROC_CLIENT_WRAPPER_H_
22 #define OC_OUT_OF_PROC_CLIENT_WRAPPER_H_
28 class OutOfProcClientWrapper : public IClientWrapper
31 OutOfProcClientWrapper(std::weak_ptr<std::recursive_mutex> /*csdkLock*/,
32 PlatformConfig /*cfg*/)
35 virtual OCStackResult ListenForResource(const std::string& /*servUrl*/,
36 const std::string& /*rsrcType*/,
37 OCConnectivityType /*connType*/,
38 FindCallback& /*callback*/,
39 QualityOfService /*QoS*/)
40 {return OC_STACK_NOTIMPL;}
42 virtual OCStackResult ListenErrorForResource(const std::string& /*servUrl*/,
43 const std::string& /*rsrcType*/,
44 OCConnectivityType /*connType*/,
45 FindCallback& /*callback*/,
46 FindErrorCallback& /*errorCallback*/,
47 QualityOfService /*QoS*/)
48 {return OC_STACK_NOTIMPL;}
50 virtual OCStackResult ListenForDevice(const std::string& /*serviceUrl*/,
51 const std::string& /*deviceURI*/,
52 OCConnectivityType /*connType*/,
53 FindDeviceCallback& /*callback*/,
54 QualityOfService /*QoS*/)
55 {return OC_STACK_NOTIMPL;}
57 virtual OCStackResult ListenForDevice(const std::string& /*serviceUrl*/,
58 const std::string& /*deviceURI*/,
59 FindDeviceCallback& /*callback*/,
60 QualityOfService /*QoS*/)
61 {return OC_STACK_NOTIMPL;}
63 virtual OCStackResult GetResourceRepresentation(
64 const OCDevAddr& /*devAddr*/,
65 const std::string& /*uri*/,
66 const QueryParamsMap& /*queryParams*/,
67 const HeaderOptions& /*headerOptions*/,
68 GetCallback& /*callback*/, QualityOfService /*QoS*/)
69 {return OC_STACK_NOTIMPL;}
71 virtual OCStackResult PutResourceRepresentation(
72 const OCDevAddr& /*devAddr*/,
73 const std::string& /*uri*/,
74 const OCRepresentation& /*attributes*/,
75 const QueryParamsMap& /*queryParams*/,
76 const HeaderOptions& /*headerOptions*/,
77 PutCallback& /*callback*/,
78 QualityOfService /*QoS*/)
79 {return OC_STACK_NOTIMPL;}
81 virtual OCStackResult PostResourceRepresentation(
82 const OCDevAddr& /*devAddr*/,
83 const std::string& /*uri*/,
84 const OCRepresentation& /*attributes*/,
85 const QueryParamsMap& /*queryParams*/,
86 const HeaderOptions& /*headerOptions*/,
87 PostCallback& /*callback*/, QualityOfService /*QoS*/)
88 {return OC_STACK_NOTIMPL;}
90 virtual OCStackResult DeleteResource(
91 const OCDevAddr& /*devAddr*/,
92 const std::string& /*uri*/,
93 const HeaderOptions& /*headerOptions*/,
94 DeleteCallback& /*callback*/, QualityOfService /*QoS*/)
95 {return OC_STACK_NOTIMPL;}
97 virtual OCStackResult ObserveResource(
98 ObserveType /*observeType*/, OCDoHandle* /*handle*/,
99 const OCDevAddr& /*devAddr*/,
100 const std::string& /*uri*/,
101 const QueryParamsMap& /*queryParams*/,
102 const HeaderOptions& /*headerOptions*/,
103 ObserveCallback& /*callback*/, QualityOfService /*QoS*/)
104 {return OC_STACK_NOTIMPL;}
106 virtual OCStackResult CancelObserveResource(
107 OCDoHandle /*handle*/,
108 const std::string& /*host*/,
109 const std::string& /*uri*/,
110 const HeaderOptions& /*headerOptions*/, QualityOfService /*QoS*/)
111 {return OC_STACK_NOTIMPL;}
113 virtual OCStackResult SubscribePresence(
114 OCDoHandle* /*handle*/,
115 const std::string& /*host*/,
116 const std::string& /*resourceType*/,
117 OCConnectivityType /*connectivityType*/,
118 SubscribeCallback& /*presenceHandler*/)
119 {return OC_STACK_NOTIMPL;}
121 virtual OCStackResult UnsubscribePresence(OCDoHandle /*handle*/)
122 {return OC_STACK_NOTIMPL;}
124 virtual OCStackResult GetDefaultQos(QualityOfService& /*QoS*/)
125 {return OC_STACK_NOTIMPL;}