|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SecureMode>
org.avis.client.SecureMode
public enum SecureMode
Specifies the secure delivery mode for notifications.
Enum Constant Summary | |
---|---|
ALLOW_INSECURE_DELIVERY
Allow clients without matching keys to receive the message. |
|
REQUIRE_SECURE_DELIVERY
Require secure key match between notification and subscription before delivering to a client. |
Method Summary | |
---|---|
static SecureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SecureMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SecureMode REQUIRE_SECURE_DELIVERY
public static final SecureMode ALLOW_INSECURE_DELIVERY
Method Detail |
---|
public static final SecureMode[] values()
for(SecureMode c : SecureMode.values()) System.out.println(c);
public static SecureMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |