Interface ClientManager.DefaultMessageHandler<M>
- Type Parameters:
M- the message type from the specific client implementation.
- Enclosing interface:
ClientManager<T,C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A contract for a default message handler on the
messageArrived event from the client.- Since:
- 6.5.6
- Author:
- Artem Vozhdayenko, Artem Bilan, Jiri Soucek, Jiandong Ma
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidmessageArrived(String topic, M message) Called when themessageArrivedis called from the client as a fallback message listener.
-
Method Details
-
messageArrived
Called when themessageArrivedis called from the client as a fallback message listener.- Parameters:
topic- the topic from which the message was received. Could be used in the target implementation to filter messages by topic.message- the received and unrouted MQTT message.
-