Package com.hivemq.client.mqtt.mqtt3
Interface Mqtt3Client
- All Superinterfaces:
MqttClient
- All Known Subinterfaces:
Mqtt3AsyncClient,Mqtt3BlockingClient,Mqtt3RxClient
MQTT client according to the MQTT 3.1.1 specification.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface com.hivemq.client.mqtt.MqttClient
DEFAULT_SERVER_HOST, DEFAULT_SERVER_PORT, DEFAULT_SERVER_PORT_SSL, DEFAULT_SERVER_PORT_WEBSOCKET, DEFAULT_SERVER_PORT_WEBSOCKET_SSL -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Mqtt3ClientBuilderbuilder()Creates a builder for an MQTT 3 client.toAsync()Turns the API of this client into a asynchronous API based on futures and callbacks.Turns the API of this client into a blocking API.toRx()Turns the API of this client into a reactive API.Methods inherited from interface com.hivemq.client.mqtt.MqttClient
getState
-
Method Details
-
builder
Creates a builder for an MQTT 3 client.- Returns:
- the created builder for a MQTT 3 client.
-
getConfig
- Specified by:
getConfigin interfaceMqttClient- Returns:
- the configuration of this client.
-
toRx
Turns the API of this client into a reactive API.The reactive API can be used simultaneously with the other APIs.
- Returns:
- a reactive API for this client.
-
toAsync
Turns the API of this client into a asynchronous API based on futures and callbacks.The asynchronous API can be used simultaneously with the other APIs.
- Returns:
- a asynchronous API for this client.
-
toBlocking
Turns the API of this client into a blocking API.The blocking API can be used simultaneously with the other APIs.
- Returns:
- a blocking API for this client.
-