Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / service / soft-sensor-manager / SSMCore / src / SSMInterface / SSMModelDefinition.h
index 73cbe58..2c33279 100644 (file)
@@ -53,17 +53,20 @@ class ISSMResource
         ISSMResource()
         {
             location = SENSOR_LOCATION_LOCAL;
+            connectivityType = 0;
         }
         ISSMResource(const std::string &n, const std::string &t) :
             name(n), type(t)
         {
-               location = SENSOR_LOCATION_LOCAL;
+            location = SENSOR_LOCATION_LOCAL;
+            connectivityType = 0;
         }
         SENSOR_LOCATION location;
         std::string name;
         std::string type;
         std::string friendlyName;
         std::string ip;
+        int connectivityType;
         std::vector<std::string> inputList;
         std::vector<std::map<std::string, std::string> > outputProperty;
 };