public static enum Sasl.SaslOutcome extends java.lang.Enum<Sasl.SaslOutcome>
Enum Constant and Description |
---|
PN_SASL_AUTH
failed due to bad credentials
|
PN_SASL_NONE
negotiation not completed
|
PN_SASL_OK
authentication succeeded
|
PN_SASL_PERM
failed due to unrecoverable error
|
PN_SASL_SKIPPED |
PN_SASL_SYS
failed due to a system error
|
PN_SASL_TEMP |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static Sasl.SaslOutcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sasl.SaslOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sasl.SaslOutcome PN_SASL_NONE
public static final Sasl.SaslOutcome PN_SASL_OK
public static final Sasl.SaslOutcome PN_SASL_AUTH
public static final Sasl.SaslOutcome PN_SASL_SYS
public static final Sasl.SaslOutcome PN_SASL_PERM
public static final Sasl.SaslOutcome PN_SASL_TEMP
public static final Sasl.SaslOutcome PN_SASL_SKIPPED
public static Sasl.SaslOutcome[] values()
for (Sasl.SaslOutcome c : Sasl.SaslOutcome.values()) System.out.println(c);
public static Sasl.SaslOutcome valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getCode()