org.moock.unity.core
Class Services

java.lang.Object
  |
  +--org.moock.unity.core.Services

public final class Services
extends java.lang.Object

Contains methods for accessing Services provided by Unity. Services provide ways to interact with and get info from Unity, Rooms, and clients connected to Unity.

Author:
Derek Clayton

Method Summary
static ClientManagementServices getClientManagementServices()
          Access ClientManagementServices.
static ClientServices getClientServices(java.lang.String clientID)
          Access ClientServices for the specified Client.
static Service getCustomService(java.lang.String name)
          Access CustomServices deployed on the server.
static NamespaceServices getNamespaceServices(java.lang.String name)
          Access NamespaceServices for the specified Namespace.
static RoomManagementServices getRoomManagementServices()
          Access RoomManagementServices.
static RoomServices getRoomServices(java.lang.String roomID)
          Access RoomServices.
static ServerServices getServerServices()
          Access ServerServices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClientManagementServices

public static ClientManagementServices getClientManagementServices()
Access ClientManagementServices.

getRoomManagementServices

public static RoomManagementServices getRoomManagementServices()
Access RoomManagementServices.

getRoomServices

public static RoomServices getRoomServices(java.lang.String roomID)
                                    throws org.moock.unity.core.exception.RoomNotFoundException,
                                           org.moock.unity.core.exception.NamespaceNotFoundException
Access RoomServices.
Parameters:
roomID - the ID of the Room for which you want RoomServices

getServerServices

public static ServerServices getServerServices()
Access ServerServices.

getNamespaceServices

public static NamespaceServices getNamespaceServices(java.lang.String name)
                                              throws org.moock.unity.core.exception.NamespaceNotFoundException
Access NamespaceServices for the specified Namespace.

getClientServices

public static ClientServices getClientServices(java.lang.String clientID)
                                        throws org.moock.unity.core.exception.ClientNotFoundException
Access ClientServices for the specified Client.

getCustomService

public static Service getCustomService(java.lang.String name)
                                throws org.moock.unity.core.exception.ServiceNotFoundException
Access CustomServices deployed on the server.