Interface BusListener


  • public interface BusListener
    Listener for subscribed messages.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onMessageReceived​(java.lang.String sourceUuid, java.lang.String topic, java.lang.Object payload)
      Invoked when a subscrbied message is received
    • Method Detail

      • onMessageReceived

        void onMessageReceived​(java.lang.String sourceUuid,
                               java.lang.String topic,
                               java.lang.Object payload)
        Invoked when a subscrbied message is received
        Parameters:
        sourceUuid - Source of th message
        topic - Topic of the message
        payload - Message content