Package io.micronaut.mqtt.hivemq.client
Interface MqttClientAdapter
- All Known Implementing Classes:
Mqtt3ClientAdapter
,Mqtt5ClientAdapter
public interface MqttClientAdapter
Common interface for HiveMQ MQTT clients.
- Since:
- 3.0.0
- Author:
- Sven Kobow
-
Method Summary
Modifier and TypeMethodDescriptiongetTopicMap
(String[] topics, int[] qos) boolean
void
subscribe
(String[] topics, int[] qos, Consumer<MqttBindingContext<MqttMessage>> callback) void
unsubscribe
(Set<String> topics)
-
Method Details
-
subscribe
-
getTopicMap
-
unsubscribe
-
isConnected
boolean isConnected() -
getClientIdentifier
Object getClientIdentifier()
-