@DoNotImplement public interface MqttClient
Modifier and Type | Field and Description |
---|---|
static @NotNull String |
DEFAULT_SERVER_HOST
The default server host.
|
static int |
DEFAULT_SERVER_PORT
The default server port.
|
static int |
DEFAULT_SERVER_PORT_SSL
The default server port when using SSL/TLS.
|
static int |
DEFAULT_SERVER_PORT_WEBSOCKET
The default server port when using WebSocket.
|
static int |
DEFAULT_SERVER_PORT_WEBSOCKET_SSL
The default server port when using SSL/TLS and WebSocket.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull MqttClientBuilder |
builder()
Creates a builder for an MQTT client.
|
@NotNull MqttClientConfig |
getConfig() |
default @NotNull MqttClientState |
getState() |
@NotNull static final @NotNull String DEFAULT_SERVER_HOST
static final int DEFAULT_SERVER_PORT
static final int DEFAULT_SERVER_PORT_SSL
static final int DEFAULT_SERVER_PORT_WEBSOCKET
static final int DEFAULT_SERVER_PORT_WEBSOCKET_SSL
@NotNull static @NotNull MqttClientBuilder builder()
@NotNull @NotNull MqttClientConfig getConfig()
@NotNull default @NotNull MqttClientState getState()