public final class PubSubMqttConnectionStateChangedEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubMqttConnectionStateChangedEvent.Builder
Builder for
PubSubMqttConnectionStateChangedEvent. |
| Modifier and Type | Method and Description |
|---|---|
static PubSubMqttConnectionStateChangedEvent.Builder |
builder()
Returns a new
PubSubMqttConnectionStateChangedEvent.Builder that can be used to construct instances of this class |
boolean |
equals(Object obj) |
String |
getClientId()
The ClientId of the connection.
|
String |
getConnectionUri()
The connection address the MQTT connection.
|
Integer |
getErrorCode()
Error code, can be null.
|
String |
getErrorMessage()
Error message, can be null.
|
int |
hashCode() |
Boolean |
isConnected()
True if we are connected, false if not.
|
PubSubMqttConnectionStateChangedEvent.Builder |
toBuilder()
Returns a new
PubSubMqttConnectionStateChangedEvent.Builder that is initialized with the state of this object. |
String |
toString() |
public String getClientId()
public String getConnectionUri()
public Integer getErrorCode()
public String getErrorMessage()
public Boolean isConnected()
public static PubSubMqttConnectionStateChangedEvent.Builder builder()
PubSubMqttConnectionStateChangedEvent.Builder that can be used to construct instances of this classpublic PubSubMqttConnectionStateChangedEvent.Builder toBuilder()
PubSubMqttConnectionStateChangedEvent.Builder that is initialized with the state of this object.Copyright © 2026. All rights reserved.