Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / service / notification-manager / NotificationManager / include / hosting.h
index 5a18a0a..e4b7ed8 100644 (file)
@@ -30,8 +30,7 @@
 #include "ocstack.h"
 #include "logger.h"
 
-//#define OC_TRANSPORT OC_ALL
-#define OC_TRANSPORT OC_IPV4
+#define OC_TRANSPORT CT_ADAPTER_IP
 
 #ifdef __cplusplus
 extern "C" {
@@ -40,16 +39,16 @@ extern "C" {
 #define HOSTING_TAG  PCF("Hosting")
 
 /**
- * Start resource coordinator.
- * This function will create mirrorResourceList and start to discover coordinatee candidate.
+ * Start resource hosting.
+ * This function will start the resource hosting and the discovery for remote resource which want to be hosted.
  *
  * @return ::OC_STACK_OK upon success, ::OC_STACK_ERROR is returned except the case that OC_STACK_SUCCESS is returned.
  */
 OCStackResult OICStartCoordinate();
 
 /**
- * Stop resource coordinator.
- * This function will stop the resource hosting and delete mirrorResourceList used.
+ * Stop resource hosting.
+ * This function will stop the resource hosting and delete all hosting resource.
  *
  * @return ::OC_STACK_OK upon success, ::OC_STACK_ERROR is returned except the case that OC_STACK_SUCCESS is returned.
  */