Class EventGridMqttClientDisconnectionReason
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EventGridMqttClientDisconnectionReason>
com.azure.messaging.eventgrid.systemevents.EventGridMqttClientDisconnectionReason
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class EventGridMqttClientDisconnectionReason
extends com.azure.core.util.ExpandableStringEnum<EventGridMqttClientDisconnectionReason>
EventGrid MQTT Client Disconnection Reason.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventGridMqttClientDisconnectionReasonThe client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed).static final EventGridMqttClientDisconnectionReasonThe client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups).static final EventGridMqttClientDisconnectionReasonThe client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service.static final EventGridMqttClientDisconnectionReasonThe client initiated a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket.static final EventGridMqttClientDisconnectionReasonThe client-server connection is lost.static final EventGridMqttClientDisconnectionReasonThe client's IP address is blocked by IP filter or Private links configuration.static final EventGridMqttClientDisconnectionReasonThe client exceeded one or more of the throttling limits that resulted in a connection termination by the service.static final EventGridMqttClientDisconnectionReasonThe connection got terminated due to an unexpected server error.static final EventGridMqttClientDisconnectionReasonThe server initiates a graceful disconnect for any operational reason.static final EventGridMqttClientDisconnectionReasonThe client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server.static final EventGridMqttClientDisconnectionReasonThe client reconnected with the same authentication name, which resulted in the termination of the previous connection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a EventGridMqttClientDisconnectionReason from its string representation.values()Gets known EventGridMqttClientDisconnectionReason values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
CLIENT_AUTHENTICATION_ERROR
The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed). -
CLIENT_AUTHORIZATION_ERROR
The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups). -
CLIENT_ERROR
The client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service. -
CLIENT_INITIATED_DISCONNECT
The client initiated a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket. -
CONNECTION_LOST
The client-server connection is lost. (EXCHANGE ONLINE PROTECTION). -
IP_FORBIDDEN
The client's IP address is blocked by IP filter or Private links configuration. -
QUOTA_EXCEEDED
The client exceeded one or more of the throttling limits that resulted in a connection termination by the service. -
SERVER_ERROR
The connection got terminated due to an unexpected server error. -
SERVER_INITIATED_DISCONNECT
The server initiates a graceful disconnect for any operational reason. -
SESSION_OVERFLOW
The client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server. -
SESSION_TAKEN_OVER
The client reconnected with the same authentication name, which resulted in the termination of the previous connection.
-
-
Constructor Details
-
EventGridMqttClientDisconnectionReason
Deprecated.Use thefromString(String)factory method.Creates a new instance of EventGridMqttClientDisconnectionReason value.
-
-
Method Details
-
fromString
Creates or finds a EventGridMqttClientDisconnectionReason from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding EventGridMqttClientDisconnectionReason.
-
values
Gets known EventGridMqttClientDisconnectionReason values.- Returns:
- known EventGridMqttClientDisconnectionReason values.
-
fromString(String)factory method.