public enum MaapiUserSessionFlag extends Enum<MaapiUserSessionFlag>
Enum Constant and Description |
---|
PROTO_CONSOLE
User session originates from the console.
|
PROTO_SSH
User session is transported over SSH.
|
PROTO_SSL
User session transported over SSL.
|
PROTO_TCP
User session transported over TCP.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MaapiUserSessionFlag |
valueOf(int i) |
static MaapiUserSessionFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaapiUserSessionFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaapiUserSessionFlag PROTO_TCP
public static final MaapiUserSessionFlag PROTO_SSH
public static final MaapiUserSessionFlag PROTO_CONSOLE
public static final MaapiUserSessionFlag PROTO_SSL
public static MaapiUserSessionFlag[] values()
for (MaapiUserSessionFlag c : MaapiUserSessionFlag.values()) System.out.println(c);
public static MaapiUserSessionFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static MaapiUserSessionFlag valueOf(int i)