#include "NSCommon.h"\r
#include <stdbool.h>\r
#include <stdint.h>\r
-\r
/**\r
* Invoked when provider receives the subscription request of consumer.\r
* @param[in] consumer Consumer who subscribes the notification message resource\r
*/\r
NSResult NSProviderDisableRemoteService(char * serverAddress);\r
\r
+#ifdef WITH_MQ\r
+/**\r
+ * Request to subscribe to remote MQ address as parameter.\r
+ * @param[in] server address combined with IP address and port number and MQ broker uri using delimiter :\r
+ * @param[in] topicName the interest Topic name for subscription.\r
+ * @return ::NS_OK or result code of NSResult\r
+ */\r
+NSResult NSProviderSubscribeMQService(const char * serverAddress, const char * topicName);\r
+#endif\r
+\r
/**\r
* Send notification message to all subscribers\r
* @param[in] message Notification message including id, title, contentText\r