Interface DisconnectEventInput
-
- All Superinterfaces:
ClientBasedInput
- All Known Subinterfaces:
AuthenticationFailedInput,ClientInitiatedDisconnectInput,ConnectionLostInput,ServerInitiatedDisconnectInput
@DoNotImplement public interface DisconnectEventInput extends ClientBasedInput
Input object forClientLifecycleEventListenermethods for disconnect events.- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Optional<DisconnectedReasonCode>getReasonCode()@NotNull Optional<String>getReasonString()@NotNull Optional<UserProperties>getUserProperties()-
Methods inherited from interface com.hivemq.extension.sdk.api.parameter.ClientBasedInput
getClientInformation, getConnectionInformation
-
-
-
-
Method Detail
-
getReasonCode
@NotNull Optional<DisconnectedReasonCode> getReasonCode()
- Returns:
- An
Optionalcontaining the disconnected reason code if present. - Since:
- 4.0.0, CE 2019.1
-
getReasonString
@NotNull Optional<String> getReasonString()
- Returns:
- An
Optionalcontaining the disconnect reason string if present. - Since:
- 4.0.0, CE 2019.1
-
getUserProperties
@NotNull Optional<UserProperties> getUserProperties()
- Returns:
- An
Optionalcontaining the disconnect user properties if present. - Since:
- 4.0.0, CE 2019.1
-
-