Interface PubSubProvider

    • Method Detail

      • close

        void close()
        Frees the resources.
      • publish

        void publish​(String topic,
                     byte[] message)
        Publishes a message to the given topic.
        Parameters:
        topic - the topic
        message - the message