Identical to the sharedRoomAttributes variable, but also includes non-shared attributes. Requires administrator privileges; defaults to false.
When true, the current client is sent an update any time the number of clients observing the target room changes; defaults to false.
Updates trigger the following events: -RoomEvent.OBSERVER_COUNT (via the target room)
When true, the current client is sent an update any time a client observes or stops observing the target room; defaults to false.
Updates trigger the following events:
When true, the current client is sent an update any time an observer of the target room logs in or logs off; defaults to true.
Updates trigger the following events:
When true, the current client is sent an update any time the number of clients in the target room changes; defaults to false.
Updates trigger the following events: -RoomEvent.OCCUPANT_COUNT (via the target room)
When true, the current client is sent an update any time a client joins or leaves the target room; defaults to true.
Updates trigger the following events:
When true, the current client is sent an update any time an occupant of the target room logs in or logs off; defaults to true.
Updates trigger the following events:
When true, the current client is sent an update any time a message is sent to the target room; defaults to true.
Updates trigger message listeners registered via the Room.addMessageListener method.
When true, the current client is sent an update any time an observer of the target room sets or deletes a global shared attribute; defaults to false.
Updates trigger the following events:
When true, the current client is sent an update any time an observer of the target room sets or deletes a room-scoped shared-attribute; defaults to false.
Updates trigger the following events:
When true, the current client is sent an update any time an occupant of the target room sets or deletes a global shared attribute; defaults to true.
Updates trigger the following events:
When true, the current client is sent an update any time an occupant of the target room sets or deletes a room-scoped shared-attribute; defaults to true.
Updates trigger the following events:
When true, the current client is sent an update any time one of the target room's shared attributes changes or is deleted; defaults to true.
Updates trigger the following events:
Sets all update levels to false.
Assigns the levels of this UpdateLevels object based on the supplied integer, whose bits represent the desired new update levels. The fromInt() method is used internally by Orbiter when receiving room update levels from Union Server.
Sets all update levels to their default values, as specified in the documentation for each update level constant.
Converts this UpdateLevels object to an integer whose bits represent the specified update levels. The toInt() method is used internally by Orbiter when sending room update levels to Union Server.
The UpdateLevels class specifies the amount of information a client wishes to receive from the server about a room it has either joined or is observing. Room update levels are intended for use with massively multiuser applications, where clients must conserve bandwidth by minimizing the amount of traffic sent by the server.
For example, imagine a nation-wide live quiz with 10000 participants in a single room. To conserve bandwidth and CPU, each participant must disable all updates about all other room occupants, while receiving aggregated application updates in the form of room messages sent by a server-side room module. To receive messages sent to the room by room modules only, and ignore all other updates for the room, each quiz client explicitly sets reduced update levels when joining the room.