Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
A
addArg(double)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list without specifying as CDATA.
addArg(double, boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list.
addArg(float)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list without specifying as CDATA.
addArg(float, boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list.
addArg(int)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list without specifying as CDATA.
addArg(int, boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list.
addArg(long)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list without specifying as CDATA.
addArg(long, boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list.
addArg(String)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list without specifying as CDATA.
addArg(String, boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Add an argument to the args list.
addNamespace(String)
- Method in interface org.moock.unity.core.
RoomManagementServices
Add a Namespace to the server.
addObserver(String)
- Method in interface org.moock.unity.core.
NamespaceServices
Adds the client specified by clientID as an observer to the room.
ALL
- Static variable in class org.moock.unity.core.upc.
UPCConfig
ALREADY_IN_ROOM
- Static variable in interface org.moock.unity.core.
RoomServices
ATTR_CLIENTLISTNOTIFICATION
- Static variable in class org.moock.unity.core.upc.
UPCRoom
ATTR_FLAGS_NONE
- Static variable in interface org.moock.unity.core.
RoomServices
ATTR_FLAGS_PERSISTENT
- Static variable in interface org.moock.unity.core.
RoomServices
ATTR_FLAGS_SHARED
- Static variable in interface org.moock.unity.core.
RoomServices
ATTR_FLAGS_SHARED_PERSISTENT
- Static variable in interface org.moock.unity.core.
RoomServices
ATTR_PASSWORD
- Static variable in class org.moock.unity.core.upc.
UPCRoom
AttributePersistence
- interface org.moock.unity.core.
AttributePersistence
.
AttributePersistence
AUTHENTICATION
- Static variable in class org.moock.unity.core.
RoomProperties
AUTHENTICATION
- Static variable in class org.moock.unity.core.
RoomDefinition
B
ban(String)
- Static method in class org.moock.unity.core.
Bouncer
Bans the given ip.
Bouncer
- class org.moock.unity.core.
Bouncer
.
broadcastClient(String)
- Method in interface org.moock.unity.core.
ClientServices
Broadcasts to a client.
broadcastNamespace(String, boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Broadcasts the message to all clients in Rooms within the Namespace.
broadcastNamespaceButClient(String, String, boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Broadcasts the message to all clients in Rooms within the Namespace except for the client ID specified by butClientID.
broadcastRoom(String)
- Method in interface org.moock.unity.core.
RoomServices
Broadcasts to all clients in the room.
broadcastRoomButClient(String, String)
- Method in interface org.moock.unity.core.
RoomServices
Broadcasts to all clients in room except for Client client with id clientID.
broadcastServer(String)
- Method in interface org.moock.unity.core.
ServerServices
Broadcasts the message to all clients connected to the server.
broadcastServerButClient(String, String)
- Method in interface org.moock.unity.core.
ServerServices
Broadcasts the message to all clients connected to the server except for the specified client.
C
changePersistentClient(ClientServices, ArrayList)
- Method in interface org.moock.unity.core.
AttributePersistence
Change a client int the database.
changePersistentClient(String, ArrayList)
- Method in interface org.moock.unity.core.
ClientManagementServices
If an AttributePersistence Object is present this method will ask the Object to change an existing entry for a client.
cleanup()
- Method in interface org.moock.unity.core.
MessageRouter
Called when the server is shut down.
cleanup()
- Method in interface org.moock.unity.core.
AttributePersistence
Called when the server is shutting down.
CLIENT_SHUTDOWN
- Static variable in interface org.moock.unity.core.
RoomServices
ClientManagementServices
- interface org.moock.unity.core.
ClientManagementServices
.
Interface for handling services associated with Client Management.
ClientServices
- interface org.moock.unity.core.
ClientServices
.
Interface for handling services associated with Clients.
containsClient(String)
- Method in interface org.moock.unity.core.
RoomServices
Returns true if the Client is in the room, false otherwise.
containsRoom(String)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns true if the Namespace contains Room roomID.
createPersistentClient(ClientServices, ArrayList)
- Method in interface org.moock.unity.core.
AttributePersistence
Create a client in the database.
createPersistentClient(String, ArrayList)
- Method in interface org.moock.unity.core.
ClientManagementServices
If an AttributePersistence Object is present this method will ask the Object to create a new entry for a client in persistent storage.
D
doChangePersistentClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doCreateNamespace(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process createNamespace UPC
doCreatePersistentClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doCreateRoom(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process createRoom UPC
doGetClientID(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process getClientID UPC
doGetNamespaceList(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doGetNumUsers(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doGetRoomList(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process getRoomList UPC
doInvokeOnAll(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process InvokeOnAll UPC
doInvokeOnAllButClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process InvokeOnAllButClient UPC
doInvokeOnClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process InvokeOnClient UPC
doInvokeOnNamespace(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process invokeOnNamespace UPC
doInvokeOnRoom(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process invokeOnRoom UPC
doJoinRoom(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process joinRoom UPC
doLeaveRoom(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process leaveRoom UPC
doLoginClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doObserveNamespace(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doRemoveNamespace(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doRemovePersistentClient(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doRemoveRoom(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doSetClientAttribute(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Process upcSetClientAttribute UPC
doSetRoomAttribute(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
doStopObserveNamespace(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
E
ERROR
- Static variable in interface org.moock.unity.core.
RoomServices
G
getAllAttributes()
- Method in interface org.moock.unity.core.
RoomServices
Returns a HashMap containing all of the attributes.
getAllAttributes()
- Method in interface org.moock.unity.core.
ClientServices
Returns a HashMap keyed by scope containing HashMaps keyed by Attribute name of all of the attributes.
getAllAttributes(String)
- Method in interface org.moock.unity.core.
ClientServices
Returns a HashMap containing all of the attributes for the client.
getAllSharedAttributes()
- Method in interface org.moock.unity.core.
ClientServices
Returns a HashMap keyed by scope containing HashMaps keyed by Attribute name of all of the attributes flagged as shared for the client.
getArgs(boolean)
- Method in class org.moock.unity.core.upc.
UPCMessage
Return an ArrayList containing the Args.
getArgSource(int)
- Method in class org.moock.unity.core.upc.
UPCMessage
Get the argument source text at index including any CDATA section if applicable.
getArgText(int)
- Method in class org.moock.unity.core.upc.
UPCMessage
Get the argument text at index.
getAttribute(String)
- Method in interface org.moock.unity.core.
RoomServices
Returns objects from the room's attributes.
getAttribute(String, String)
- Method in interface org.moock.unity.core.
ClientServices
Returns objects from the clients .
getAttributes()
- Method in class org.moock.unity.core.
RoomDefinition
Set the attributes for the room.
getAuthentication()
- Method in class org.moock.unity.core.
RoomProperties
Get the authentication for the room.
getAuthentication()
- Method in class org.moock.unity.core.
RoomDefinition
Get the authentication for the room.
getBannedList()
- Static method in class org.moock.unity.core.
Bouncer
Returns a String [] of the banned IP's
getClientID()
- Method in interface org.moock.unity.core.
ClientServices
Get the ID for the client.
getClientIDMessage(String)
- Method in interface org.moock.unity.core.
MessageRouter
Returns a String that is sent to the Client when they connect to the server.
getClientList()
- Method in interface org.moock.unity.core.
ClientManagementServices
Returns the ClientServices for all clients connected to the server.
getClientList()
- Method in interface org.moock.unity.core.
RoomServices
Returns the ClientID's for all clients connected to the Room.
getClientList(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns a HashSet of all Clients by ID in the Namespace.
getClientManagementServices()
- Static method in class org.moock.unity.core.
Services
Access ClientManagementServices.
getClientPermissions()
- Static method in class org.moock.unity.core.upc.
UPCConfig
getClientServices()
- Method in class org.moock.unity.core.
Message
Returns the client that sent the message.
getClientServices(String)
- Static method in class org.moock.unity.core.
Services
Access ClientServices for the specified Client.
getClientServicesList()
- Method in interface org.moock.unity.core.
RoomServices
Returns the ClientServices for all clients connected to the Room.
getClientTimeout()
- Method in interface org.moock.unity.core.
ServerServices
Returns the time in minutes that an inactive client is removed from the server.
getConnectErrorBannedMessage()
- Method in interface org.moock.unity.core.
MessageRouter
Returns a String that is sent to the Client when they connect to the server but their ip has been banned.
getConnectErrorServerFullMessage()
- Method in interface org.moock.unity.core.
MessageRouter
Returns a String that is sent to the Client when they connect to the server but the server maximum clients has been reached.
getConnectToServerTime()
- Method in interface org.moock.unity.core.
ClientServices
Retrieves the time the Client connected to the server.
getCreationTime()
- Method in interface org.moock.unity.core.
RoomServices
Retrieves the time the Room was created.
getCustomService(String)
- Static method in class org.moock.unity.core.
Services
Access CustomServices deployed on the server.
getDieOnEmpty()
- Method in class org.moock.unity.core.
RoomProperties
Returns true if the Room should die when the last Client leaves, false otherwise.
getFullName()
- Method in interface org.moock.unity.core.
NamespaceServices
Returns the fully qualified name of the Namespace.
getFullyQualifiedRoomID()
- Method in interface org.moock.unity.core.
RoomServices
Returns the ID including the Namespace qualifier for the room.
getIP()
- Method in interface org.moock.unity.core.
ClientServices
Gets the ip of this client.
getIPAuthorizedList()
- Method in class org.moock.unity.core.
RoomProperties
Deprecated.
no longer used by the server developers using this should maintain the list in an Attribute
getIPAuthorizedList()
- Method in class org.moock.unity.core.
RoomDefinition
Deprecated.
no longer used by the server developers using this should maintain the list in an Attribute
getManifest()
- Method in interface org.moock.unity.core.
RoomManagementServices
Return an XML String representing the tree of Objects (Rooms, Namespaces) deployed to the Server.
getMessage()
- Method in class org.moock.unity.core.
Message
Returns the contents of the message.
getMethod()
- Method in class org.moock.unity.core.upc.
UPCMessage
Get the method for the UPC.
getNamespace()
- Method in class org.moock.unity.core.
RoomProperties
Gets the namespace this room is associated with.
getNamespace()
- Method in class org.moock.unity.core.
RoomDefinition
Gets the namespace this room is associated with.
getNamespaceList()
- Method in interface org.moock.unity.core.
RoomManagementServices
Returns a list of the names of Namespace ID's deployed to the server.
getNamespaceList(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns a HashSet of all immediate child Namespaces of the Namespace.
getNamespaceServices(String)
- Static method in class org.moock.unity.core.
Services
Access NamespaceServices for the specified Namespace.
getNumClients()
- Method in interface org.moock.unity.core.
ClientManagementServices
Returns the number of clients connected to the server.
getNumClients()
- Method in interface org.moock.unity.core.
RoomServices
Get the number of clients in the room.
getNumClients(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns the number of Clients in the Namespace.
getNumRooms(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns the number of Rooms in the Namespace.
getOwner()
- Method in class org.moock.unity.core.upc.
UPCRoom
getOwnerID()
- Method in class org.moock.unity.core.
RoomDefinition
getParsedObject()
- Method in class org.moock.unity.core.
Message
getRoomID()
- Method in class org.moock.unity.core.upc.
UPCMessage
Get the method for the UPC.
getRoomID()
- Method in class org.moock.unity.core.
RoomDefinition
Set the ID of the Room.
getRoomID()
- Method in interface org.moock.unity.core.
RoomServices
Returns the ID not including the Namespace qualifier for the room.
getRoomList()
- Method in interface org.moock.unity.core.
RoomManagementServices
Returns a list of the names of room ID's deployed to the server.
getRoomList()
- Method in interface org.moock.unity.core.
ClientServices
Returns a list of RoomID's of Rooms the Client is in.
getRoomList(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Returns a HashSet of all Rooms by ID in the Namespace.
getRoomListener()
- Method in interface org.moock.unity.core.
RoomServices
Gets the Room Listener Object for the Room
getRoomManagementServices()
- Static method in class org.moock.unity.core.
Services
Access RoomManagementServices.
getRoomProperties()
- Method in interface org.moock.unity.core.
RoomServices
Returns the properties for the Room.
getRoomServices()
- Method in class org.moock.unity.core.upc.
UPCRoom
Return the RoomServices for this UPCRoom.
getRoomServices(String)
- Static method in class org.moock.unity.core.
Services
Access RoomServices.
getRoomType()
- Method in class org.moock.unity.core.
RoomProperties
Gets the type of Room as defined in RoomTypes.xml.
getRoomType()
- Method in class org.moock.unity.core.
RoomDefinition
Gets the type of Room as defined in RoomTypes.xml.
getSendUnsharedAttributes()
- Static method in class org.moock.unity.core.upc.
UPCConfig
getServerAttribute(String)
- Method in interface org.moock.unity.core.
ServerServices
Gets a ServerSetting.
getServerServices()
- Static method in class org.moock.unity.core.
Services
Access ServerServices.
getSharedAttributes()
- Method in interface org.moock.unity.core.
RoomServices
Returns a HashMap containing all of the attributes flagged as shared for the room.
getSharedAttributes(String)
- Method in interface org.moock.unity.core.
ClientServices
Returns a HashMap containing the attributes flagged as shared for the client for the Room fqRoomID.
getTargetRoom(Message)
- Method in interface org.moock.unity.core.
MessageRouter
This method is called by the server to determine to which room a message should be routed.
getTimeStamp()
- Method in class org.moock.unity.core.
Message
Use Date date = new Date(getTimeStamp) to get a Date object instead of a long if desired.
getTotalConnections()
- Method in interface org.moock.unity.core.
ClientManagementServices
Returns the total number of clients that have connected during the lifetime of the server.
getUnityStartTime()
- Method in interface org.moock.unity.core.
ServerServices
Retrieves the server start time.
getUnityVersion()
- Method in interface org.moock.unity.core.
ServerServices
Returns the version of Unity.
H
handleMessage(UPCMessage, Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
Handle custom messages here.
I
init()
- Method in interface org.moock.unity.core.
MessageRouter
Called on startup when the object is created to perform any initialization needed.
init(HashMap)
- Method in interface org.moock.unity.core.
AttributePersistence
Init the Attribute Persistence object.
isAutojoin()
- Method in class org.moock.unity.core.
RoomProperties
Returns true if clients are set to join the Room when they connect to the server.
isAutojoin()
- Method in class org.moock.unity.core.
RoomDefinition
Returns true if clients are set to join the Room when they connect to the server.
isBanned(String)
- Static method in class org.moock.unity.core.
Bouncer
Returns true if the given ip is on the banned list.
isDieOnEmpty()
- Method in class org.moock.unity.core.
RoomDefinition
Returns true if the Room should die when the last Client leaves, false otherwise.
isDying()
- Method in interface org.moock.unity.core.
RoomServices
Indicates if this room is in the process of being removed.
isDying()
- Method in interface org.moock.unity.core.
ClientServices
Returns true if the client has been shutdown.
isLoggedIn()
- Method in interface org.moock.unity.core.
ClientServices
Gets if this Client has been logged in set by AttributePersistence.
J
joinRoom(String)
- Method in interface org.moock.unity.core.
ClientServices
Attempts to have client join room with ID roomID.
K
killClient()
- Method in interface org.moock.unity.core.
ClientServices
Removes the client from the server.
killRoom()
- Method in interface org.moock.unity.core.
RoomServices
Removes the Room from the server.
killRoom(String)
- Method in interface org.moock.unity.core.
RoomManagementServices
Kills the Room specified by fqRoomID.
killRooms(boolean)
- Method in interface org.moock.unity.core.
NamespaceServices
Kills all the rooms in the Namespace.
L
leaveRoom(String)
- Method in interface org.moock.unity.core.
ClientServices
Removes the client from the room with ID roomID.
load(HashMap)
- Method in interface org.moock.unity.core.
Service
Called when the Service is loaded when Unity starts.
loadRoom(RoomServices)
- Method in interface org.moock.unity.core.
AttributePersistence
Load the Attributes for a room with ID roomID when the Room is spawned.
loadServer(ServerServices)
- Method in interface org.moock.unity.core.
AttributePersistence
Load the server Attributes
LOGIN_FAILED
- Static variable in interface org.moock.unity.core.
RoomServices
LOGIN_REQUIRED
- Static variable in interface org.moock.unity.core.
RoomServices
loginClient(ClientServices, ArrayList)
- Method in interface org.moock.unity.core.
AttributePersistence
Load the Attributes for the Client when loginClient is called by a Room.
loginClient(String, ArrayList)
- Method in interface org.moock.unity.core.
ClientManagementServices
If an AttributePersistence Object is present this method will ask the Object to retrieve the persistent Attributes for this Client.
loginRoom(String, ArrayList)
- Method in interface org.moock.unity.core.
ClientServices
Attempts to have client join room with ID roomID.
M
Message
- class org.moock.unity.core.
Message
.
Message encapsulates client to server communications.
Message(ClientServices)
- Constructor for class org.moock.unity.core.
Message
Creates a new message and initializes the Client to client.
MessageRouter
- interface org.moock.unity.core.
MessageRouter
.
MessageRouter Objects which are responsible for routing messages within the Unity server must implement this interface.
N
NamespaceServices
- interface org.moock.unity.core.
NamespaceServices
.
Interface for handling services associated with a Namespace.
NO_AUTHENTICATION
- Static variable in class org.moock.unity.core.
RoomProperties
NO_AUTHENTICATION
- Static variable in class org.moock.unity.core.
RoomDefinition
NONE
- Static variable in class org.moock.unity.core.upc.
UPCConfig
NOT_IN_ROOM
- Static variable in interface org.moock.unity.core.
RoomServices
O
OCCUPANTS
- Static variable in class org.moock.unity.core.upc.
UPCConfig
onAddClient(ClientServices)
- Method in interface org.moock.unity.core.
RoomListener
Called when a Client joins the room.
onAddClient(ClientServices)
- Method in class org.moock.unity.core.upc.
UPCRoom
onClientCountChange(int)
- Method in interface org.moock.unity.core.
RoomListener
Called when the number of clients in the room changes.
onClientCountChange(int)
- Method in class org.moock.unity.core.upc.
UPCRoom
onLogin(ClientServices, ArrayList)
- Method in interface org.moock.unity.core.
RoomListener
Called when a Client attempts to login to the room.
onLogin(ClientServices, ArrayList)
- Method in class org.moock.unity.core.upc.
UPCRoom
If the UPCRoom has a password (set as an attribute when creating the Room) then Clients must login to gain access.
onReceiveMessage(Message)
- Method in interface org.moock.unity.core.
RoomListener
Called when the Room receives a Message from a Client.
onReceiveMessage(Message)
- Method in class org.moock.unity.core.upc.
UPCRoom
onRemoveClient(ClientServices)
- Method in interface org.moock.unity.core.
RoomListener
Called when a Client is removed.
onRemoveClient(ClientServices)
- Method in class org.moock.unity.core.upc.
UPCRoom
onRoomDie()
- Method in interface org.moock.unity.core.
RoomListener
Called when the Room is asked to be killed but before Clients are removed and the Room is removed from the Server.
onRoomDie()
- Method in class org.moock.unity.core.upc.
UPCRoom
onRoomInit(RoomServices)
- Method in interface org.moock.unity.core.
RoomListener
Called when the Room is started.
onRoomInit(RoomServices)
- Method in class org.moock.unity.core.upc.
UPCRoom
OWNER
- Static variable in class org.moock.unity.core.upc.
UPCConfig
P
parse(String)
- Static method in class org.moock.unity.core.upc.
UPCParser
Parses a message based on UPC.
R
removeAttribute(String)
- Method in interface org.moock.unity.core.
RoomServices
Removes an object from the room's attributes.
removeAttribute(String, String)
- Method in interface org.moock.unity.core.
ClientServices
Removes an object from the clients .
removeNamespace(String)
- Method in interface org.moock.unity.core.
RoomManagementServices
Remove a Namespace from the server.
removeObserver(String)
- Method in interface org.moock.unity.core.
NamespaceServices
Removes the client specified by clientID as an observer from the room.
removePersistentClient(ClientServices, ArrayList)
- Method in interface org.moock.unity.core.
AttributePersistence
Remove a client from the database.
removePersistentClient(String, ArrayList)
- Method in interface org.moock.unity.core.
ClientManagementServices
If an AttributePersistence Object is present this method will ask the Object to remove entry for a client from persistent storage.
removeServerAttribute(String)
- Method in interface org.moock.unity.core.
ServerServices
Removes a ServerSetting.
ROOM_FULL
- Static variable in interface org.moock.unity.core.
RoomServices
RoomDefinition
- class org.moock.unity.core.
RoomDefinition
.
Defines the makeup of a room when creating new rooms.
RoomDefinition()
- Constructor for class org.moock.unity.core.
RoomDefinition
RoomDefinition(String, String)
- Constructor for class org.moock.unity.core.
RoomDefinition
RoomDefinition(String, String, String)
- Constructor for class org.moock.unity.core.
RoomDefinition
RoomListener
- interface org.moock.unity.core.
RoomListener
.
All Objects deployed as Rooms implement this interface.
RoomManagementServices
- interface org.moock.unity.core.
RoomManagementServices
.
Interface for handling services associated with Room Management such as creation and destruction.
RoomProperties
- class org.moock.unity.core.
RoomProperties
.
Holds the properties for a deployed Room.
RoomProperties()
- Constructor for class org.moock.unity.core.
RoomProperties
RoomProperties(String)
- Constructor for class org.moock.unity.core.
RoomProperties
RoomProperties(String, String)
- Constructor for class org.moock.unity.core.
RoomProperties
RoomServices
- interface org.moock.unity.core.
RoomServices
.
Interface for handling services associated with Rooms.
S
s_log
- Static variable in class org.moock.unity.core.upc.
UPCRoom
ServerServices
- interface org.moock.unity.core.
ServerServices
.
Interface for handling services associated with Server.
Service
- interface org.moock.unity.core.
Service
.
You can use this interface to load your own objects when Unity starts.
Services
- class org.moock.unity.core.
Services
.
Contains methods for accessing Services provided by Unity.
setArgs(ArrayList)
- Method in class org.moock.unity.core.upc.
UPCMessage
Set the arguments list.
setAttribute(Attribute)
- Method in class org.moock.unity.core.
RoomDefinition
Set the attributes for the room.
setAttribute(String, Object, int)
- Method in interface org.moock.unity.core.
RoomServices
Adds an object to the room's attributes.
setAttribute(String, Object, String, int)
- Method in interface org.moock.unity.core.
ClientServices
Adds an object to the client's custom .
setAuthentication(int)
- Method in class org.moock.unity.core.
RoomDefinition
Sets the authentication for the room.
setAutojoin(boolean)
- Method in class org.moock.unity.core.
RoomProperties
Set to true if the clients are set to join the Room when they connect to the server.
setAutojoin(boolean)
- Method in class org.moock.unity.core.
RoomDefinition
Set to true if the clients are set to join the Room when they connect to the server.
setClientPermissions(int)
- Static method in class org.moock.unity.core.upc.
UPCConfig
setDieOnEmpty(boolean)
- Method in class org.moock.unity.core.
RoomDefinition
Set to true if the Room should die when the last Client leaves, false otherwise.
setIPAuthorizedList(ArrayList)
- Method in class org.moock.unity.core.
RoomDefinition
Deprecated.
no longer used by the server developers using this should maintain the list in an Attribute
setMessage(String)
- Method in class org.moock.unity.core.
Message
Sets the content of the message.
setMethod(String)
- Method in class org.moock.unity.core.upc.
UPCMessage
Set the method for the UPC.
setNamespace(String)
- Method in class org.moock.unity.core.
RoomDefinition
Sets the parent room ID.
setOwner(String)
- Method in class org.moock.unity.core.upc.
UPCRoom
Sets the owner of this room to the ID clientID
setOwnerID(String)
- Method in class org.moock.unity.core.
RoomDefinition
setParsedObject(Object)
- Method in class org.moock.unity.core.
Message
setRoomID(String)
- Method in class org.moock.unity.core.upc.
UPCMessage
Set the method for the UPC.
setRoomID(String)
- Method in class org.moock.unity.core.
RoomDefinition
Get the ID of the Room.
setRoomType(String)
- Method in class org.moock.unity.core.
RoomDefinition
Sets the type of Room as defined in RoomTypes.xml.
setSendUnsharedAttributes(boolean)
- Static method in class org.moock.unity.core.upc.
UPCConfig
setServerAttribute(String, Object)
- Method in interface org.moock.unity.core.
ServerServices
Sets a ServerSetting.
spawnRoom(RoomDefinition)
- Method in interface org.moock.unity.core.
RoomManagementServices
Creates a new Room according to the given RoomDefinition.
storeClient(ClientServices, HashMap)
- Method in interface org.moock.unity.core.
AttributePersistence
Store the Attributes of the Client when the Client disconnects.
storeRoom(String, AttributeList)
- Method in interface org.moock.unity.core.
AttributePersistence
Store the Attributes for a room with ID roomID when the Room is shutdown.
storeServer(AttributeList)
- Method in interface org.moock.unity.core.
AttributePersistence
Store the server Attributes when the server is shutdown.
SUCCESS
- Static variable in interface org.moock.unity.core.
RoomServices
T
toString()
- Method in class org.moock.unity.core.upc.
UPCMessage
Converts this UPCMessage to a String via UPCBuilder
U
unban(String)
- Static method in class org.moock.unity.core.
Bouncer
Unbans the given ip.
unload()
- Method in interface org.moock.unity.core.
Service
Called when the Service is unloaded when Unity stops.
UPCConfig
- class org.moock.unity.core.upc.
UPCConfig
.
Stores the settings for UPC Rooms deployed to the server.
UPCConfig()
- Constructor for class org.moock.unity.core.upc.
UPCConfig
UPCMessage
- class org.moock.unity.core.upc.
UPCMessage
.
UPCMessage is an Object form of a String representing UPC.
UPCMessage()
- Constructor for class org.moock.unity.core.upc.
UPCMessage
Default constructor.
UPCMessage(String)
- Constructor for class org.moock.unity.core.upc.
UPCMessage
Constructs a new UPCMessage with the given method.
UPCParser
- class org.moock.unity.core.upc.
UPCParser
.
Conveniece object for parsing messages based on the UPC protocol.
UPCRoom
- class org.moock.unity.core.upc.
UPCRoom
.
This room uses UPC calls to interact with Unity server.
UPCRoom()
- Constructor for class org.moock.unity.core.upc.
UPCRoom
V
validate()
- Method in class org.moock.unity.core.upc.
UPCMessage
Validates whether the UPCMessage object is valid UPC.
A
B
C
D
E
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES