|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<UpdateLevel> net.user1.union.core.UpdateLevel
public enum UpdateLevel
UpdateLevel contains a breakdown of information that can be retrieved by the server.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 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
Field Detail |
---|
public int bit
public static int NON_ADMIN_MAX_UPDATE_LEVEL
public static int ADMIN_MAX_UPDATE_LEVEL
public static int ALL_ATTRIBUTE_UPDATES
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic static boolean isAnyAttributeUpdate(int levels)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |