1 //******************************************************************
3 // Copyright 2014 Intel Corporation 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 __INTEL_OCAPI_H_2014_07_10
22 #define __INTEL_OCAPI_H_2014_07_10
33 namespace OC { namespace OCReflect {
37 }} // namespace OC::OCReflect
41 enum class OCPlatformStatus {
46 enum class OCAdvertisementStatus{
50 typedef std::string URI;
52 enum class ServiceType
67 ServiceType serviceType; // This will indicate whether it is InProc or OutOfProc
68 ModeType mode; // This will indicate whether we want to do server, client or both
69 std::string ipAddress; // This is the ipAddress of the server to connect to
70 uint16_t port; // Port of the server