com.ibm.wiotp.sdk.devicemgmt.internal

Interface ManagedClient



  • public interface ManagedClient
    A managed client interface that provides the contract what a managed device or Gateway must implement, inorder to participate in DM activities.
    • Method Detail

      • subscribe

        void subscribe(String topic,
                       int qos,
                       org.eclipse.paho.client.mqttv3.IMqttMessageListener iMqttMessageListener)
                throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException
      • unsubscribe

        void unsubscribe(String topic)
                  throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException
      • publish

        void publish(String response,
                     com.google.gson.JsonObject payload)
              throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException
      • publish

        void publish(String response,
                     com.google.gson.JsonObject payload,
                     int qos)
              throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException
      • subscribe

        void subscribe(String[] topics,
                       int[] qos,
                       org.eclipse.paho.client.mqttv3.IMqttMessageListener[] listener)
                throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException
      • unsubscribe

        void unsubscribe(String[] topics)
                  throws org.eclipse.paho.client.mqttv3.MqttException
        Throws:
        org.eclipse.paho.client.mqttv3.MqttException

Copyright © 2019. All rights reserved.