Interface GenericClient.ArrivedCallback

All Known Implementing Classes:
GenericMessageProducer.Callback
Enclosing class:
GenericClient

public static interface GenericClient.ArrivedCallback
Called when a message for a topic arrives.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    messageArrived(String topic, byte[] payload)
    This method is called when a message arrives from the server.
  • Method Details

    • messageArrived

      void messageArrived(String topic, byte[] payload)
      This method is called when a message arrives from the server.
      Parameters:
      topic - name of the topic on the message was published to
      payload - the payload of the message