public enum UpdateLevel extends java.lang.Enum<UpdateLevel>
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_MAX_UPDATE_LEVEL
The maximum update levels for an admin.
|
static int |
ALL_ATTRIBUTE_UPDATES
And (&) of all attribute update bits (client and room).
|
int |
bit
The bit that indicates the UpdateLevel is set.
|
static int |
NON_ADMIN_MAX_UPDATE_LEVEL
The maximum update levels for a non-admin.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isAnyAttributeUpdate(int levels) |
static UpdateLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateLevel ROOM_MESSAGES
public static final UpdateLevel ROOM_SHARED_ATTRIBUTES
public static final UpdateLevel OCCUPANT_COUNT
public static final UpdateLevel OBSERVER_COUNT
public static final UpdateLevel OCCUPANT_LIST
public static final UpdateLevel OBSERVER_LIST
public static final UpdateLevel OCCUPANT_SHARED_ROOM_ATTRIBUTES
public static final UpdateLevel OBSERVER_SHARED_ROOM_ATTRIBUTES
public static final UpdateLevel OCCUPANT_SHARED_GLOBAL_ATTRIBUTES
public static final UpdateLevel OBSERVER_SHARED_GLOBAL_ATTRIBUTES
public static final UpdateLevel OCCUPANT_LOGIN_LOGOFF
public static final UpdateLevel OBSERVER_LOGIN_LOGOFF
public static final UpdateLevel ALL_ROOM_ATTRIBUTES
public int bit
public static int NON_ADMIN_MAX_UPDATE_LEVEL
public static int ADMIN_MAX_UPDATE_LEVEL
public static int ALL_ATTRIBUTE_UPDATES
public static UpdateLevel[] values()
for (UpdateLevel c : UpdateLevel.values()) System.out.println(c);
public static UpdateLevel 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 static boolean isAnyAttributeUpdate(int levels)