Package com.lucimber.dbus.netty
Enum Class DBusChannelEvent
- All Implemented Interfaces:
Serializable
,Comparable<DBusChannelEvent>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFired byDBusMandatoryNameHandler
when the app's unique bus name has been successfully acquired via the Hello() method call.Fired byDBusMandatoryNameHandler
if acquiring the mandatory bus name fails.Fired when handlers that were removed during connection setup need to be re-added.Fired when a reconnection process is about to start.Fired bySaslAuthenticationHandler
when SASL authentication has successfully completed.Fired bySaslAuthenticationHandler
when SASL authentication has failed.Fired bySaslInitiationHandler
after the initial NUL byte has been successfully sent. -
Method Summary
Modifier and TypeMethodDescriptionstatic DBusChannelEvent
Returns the enum constant of this class with the specified name.static DBusChannelEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SASL_NUL_BYTE_SENT
Fired bySaslInitiationHandler
after the initial NUL byte has been successfully sent. -
SASL_AUTH_COMPLETE
Fired bySaslAuthenticationHandler
when SASL authentication has successfully completed. -
SASL_AUTH_FAILED
Fired bySaslAuthenticationHandler
when SASL authentication has failed. -
MANDATORY_NAME_ACQUIRED
Fired byDBusMandatoryNameHandler
when the app's unique bus name has been successfully acquired via the Hello() method call. -
MANDATORY_NAME_ACQUISITION_FAILED
Fired byDBusMandatoryNameHandler
if acquiring the mandatory bus name fails. -
RECONNECTION_STARTING
Fired when a reconnection process is about to start. Handlers should prepare for reconnection by resetting their state. -
RECONNECTION_HANDLERS_READD_REQUIRED
Fired when handlers that were removed during connection setup need to be re-added. This allows for proper pipeline reconstruction during reconnection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-