rl.client.game
Class GameClientFactory

java.lang.Object
  extended by rl.client.game.GameClientFactory

public class GameClientFactory
extends java.lang.Object


Method Summary
 GameClient AddGameClient(java.lang.String GameType, java.lang.String GameName)
           
 GameClient getGameClient(long connectionID)
           
 GameClient getGameClient(java.lang.String GameName)
           
 int getGameClientCount()
           
 java.util.Vector<java.lang.String> getGameClientList()
           
 java.util.Vector<java.lang.String> getGameClientTypes()
           
static GameClientFactory getInstance()
           
 void RegisterGameClientType(java.lang.String Name, java.lang.String ClassName)
           
 void removeGameClient(long connectionID)
           
 void removeGameClient(java.lang.String GameName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GameClientFactory getInstance()

RegisterGameClientType

public void RegisterGameClientType(java.lang.String Name,
                                   java.lang.String ClassName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getGameClientCount

public int getGameClientCount()

getGameClientTypes

public java.util.Vector<java.lang.String> getGameClientTypes()

getGameClientList

public java.util.Vector<java.lang.String> getGameClientList()

AddGameClient

public GameClient AddGameClient(java.lang.String GameType,
                                java.lang.String GameName)
                         throws java.lang.Exception
Throws:
java.lang.Exception

removeGameClient

public void removeGameClient(java.lang.String GameName)
                      throws java.lang.Exception
Throws:
java.lang.Exception

removeGameClient

public void removeGameClient(long connectionID)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getGameClient

public GameClient getGameClient(java.lang.String GameName)

getGameClient

public GameClient getGameClient(long connectionID)