Class net.user1.orbiter.Room
- Extends net.user1.events.EventDispatcher
The Room class dispatches the following events:
- net.user1.orbiter.RoomEvent.JOIN
- net.user1.orbiter.RoomEvent.JOIN_RESULT
- net.user1.orbiter.RoomEvent.LEAVE
- net.user1.orbiter.RoomEvent.LEAVE_RESULT
- net.user1.orbiter.RoomEvent.ADD_OCCUPANT
- net.user1.orbiter.RoomEvent.REMOVE_OCCUPANT
- net.user1.orbiter.RoomEvent.ADD_OBSERVER
- net.user1.orbiter.RoomEvent.REMOVE_OBSERVER
- net.user1.orbiter.RoomEvent.UPDATE_CLIENT_ATTRIBUTE
- net.user1.orbiter.RoomEvent.DELETE_CLIENT_ATTRIBUTE
- net.user1.orbiter.RoomEvent.OCCUPANT_COUNT
- net.user1.orbiter.RoomEvent.OSERVER_COUNT
- net.user1.orbiter.RoomEvent.SYNCHRONIZE
- net.user1.orbiter.RoomEvent.OBSERVE
- net.user1.orbiter.RoomEvent.OBSERVE_RESULT
- net.user1.orbiter.RoomEvent.STOP_OBSERVING
- net.user1.orbiter.RoomEvent.STOP_OBSERVING_RESULT
- net.user1.orbiter.RoomEvent.REMOVED
- net.user1.orbiter.AttributeEvent.DELETE
- net.user1.orbiter.AttributeEvent.UPDATE
- net.user1.orbiter.AttributeEvent.SET_RESULT
- net.user1.orbiter.AttributeEvent.DELETE_RESULT
net.user1.orbiter.Room(id, roomManager, messageManager, clientManager, accountManager, log)
|
Methods
addClientAttributeListeners(client)
private
|
|
addMessageListener(message, listener, thisArg)
|
|
clientIsInRoom(clientID)
|
|
clientIsObservingRoom(clientID)
|
|
deleteAttribute(attrName)
|
|
private
|
|
getAttribute(attrName)
|
|
getClient(id)
|
|
hasMessageListener(message, listener)
|
|
join(password, updateLevels)
|
|
leave()
|
|
observe(password, updateLevels)
|
|
private
|
|
remove(password)
|
|
removeClientAttributeListeners(client)
private
|
|
removeMessageListener(message, listener)
|
|
sendMessage(messageName, includeSelf, filters)
|
|
sendModuleMessage(messageName, messageArguments)
|
|
setAttribute(attrName, attrValue, isShared, isPersistent, evaluate)
|
|
setDefaultClientClass(defaultClass)
|
|
setRoomSettings(settings)
|
|
setUpdateLevels(updateLevels)
|
|
toString()
|
|
private
|
- Inherited Methods
- from net.user1.events.EventDispatcher:
- addEventListener()
- dispatchEvent()
- getListeners()
- hasListener()
- removeEventListener()