Class net.user1.orbiter.ClientManager
- Extends net.user1.events.EventDispatcher
The ClientManager class dispatches the following events:
- net.user1.orbiter.ClientManagerEvent.CREATE_ACCOUNT_RESULT
- net.user1.orbiter.ClientEvent.OBSERVE
- net.user1.orbiter.ClientEvent.STOP_OBSERVING
- net.user1.orbiter.ClientManagerEvent.CLIENT_CONNECTED
- net.user1.orbiter.ClientManagerEvent.CLIENT_DISCONNECTED
- net.user1.orbiter.ClientManagerEvent.STOP_WATCHING_FOR_CLIENTS_RESULT
- net.user1.orbiter.ClientManagerEvent.WATCH_FOR_CLIENTS_RESULT
- net.user1.orbiter.ClientEvent.OBSERVE_RESULT
- net.user1.orbiter.ClientEvent.STOP_OBSERVING_RESULT
- net.user1.orbiter.ClientManagerEvent.KICK_RESULT
- net.user1.orbiter.ClientManagerEvent.BAN_RESULT
- net.user1.orbiter.ClientManagerEvent.UNBAN_RESULT
- net.user1.orbiter.ClientManagerEvent.WATCH_FOR_BANNED_ADDRESSES_RESULT
- net.user1.orbiter.ClientManagerEvent.STOP_WATCHING_FOR_BANNED_ADDRESSES_RESULT
- net.user1.orbiter.ClientManagerEvent.ADDRESS_BANNED
- net.user1.orbiter.ClientManagerEvent.ADDRESS_UNBANNED
- net.user1.orbiter.ClientManagerEvent.SYNCHRONIZE_BANLIST
- net.user1.orbiter.ClientManagerEvent.SYNCHRONIZE
net.user1.orbiter.ClientManager(roomManager, accountManager, connectionManager, messageManager, server, log)
|
Methods
ban(address, duration, reason)
|
|
clientIsKnown(clientID)
|
|
dispose()
|
|
getAttributeForClients(clientIDs, attrName, attrScope)
|
|
getClient(clientID, scope)
|
|
getClientByAttribute(attributeName, attributeValue, attributeScope, roomScope)
|
|
getClientByUserID(userID, scope)
|
|
getInternalClient(clientID)
|
|
hasWatchedClient(clientID)
|
|
isObservingClient(clientID)
|
|
kickClient(clientID)
|
|
observeClient(clientID)
|
|
sendMessage(messageName, clientIDs, filters)
|
|
setDefaultClientClass(defaultClass)
|
|
unban(address)
|
|
- Inherited Methods
- from net.user1.events.EventDispatcher:
- addEventListener()
- dispatchEvent()
- getListeners()
- hasListener()
- removeEventListener()
- toString()