Interface Mqtt3Client

All Superinterfaces:
MqttClient
All Known Subinterfaces:
Mqtt3AsyncClient, Mqtt3BlockingClient, Mqtt3RxClient

@DoNotImplement public interface Mqtt3Client extends MqttClient
MQTT client according to the MQTT 3.1.1 specification.
Since:
1.0
  • Method Details

    • builder

      @NotNull static @NotNull Mqtt3ClientBuilder builder()
      Creates a builder for an MQTT 3 client.
      Returns:
      the created builder for a MQTT 3 client.
    • getConfig

      @NotNull @NotNull Mqtt3ClientConfig getConfig()
      Specified by:
      getConfig in interface MqttClient
      Returns:
      the configuration of this client.
    • toRx

      @CheckReturnValue @NotNull @NotNull Mqtt3RxClient 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

      @CheckReturnValue @NotNull @NotNull Mqtt3AsyncClient 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

      @CheckReturnValue @NotNull @NotNull Mqtt3BlockingClient 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.