Class HivemqV5MessageProducer.Callback

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Callback()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void messageArrived​(java.lang.String topic, byte[] payload)
      This method is called when a message arrives from the server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Callback

        private Callback()
    • Method Detail

      • messageArrived

        public void messageArrived​(java.lang.String topic,
                                   byte[] payload)
        Description copied from interface: HivemqV5Client.ArrivedCallback
        This method is called when a message arrives from the server.
        Specified by:
        messageArrived in interface HivemqV5Client.ArrivedCallback
        Parameters:
        topic - name of the topic on the message was published to
        payload - the actual payload.