Interface HivemqV3Client.ArrivedCallback
- All Known Implementing Classes:
HivemqV3MessageProducer.Callback
- Enclosing class:
HivemqV3Client
public static interface HivemqV3Client.ArrivedCallback
Called when a message for a topic arrives.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionvoidmessageArrived(String topic, byte[] payload) This method is called when a message arrives from the server.
-
Method Details
-
messageArrived
This method is called when a message arrives from the server.- Parameters:
topic- name of the topic on the message was published topayload- the actual payload.
-