rl.server.game
Class GameServerFactory
java.lang.Object
rl.server.game.GameServerFactory
public class GameServerFactory
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static GameServerFactory getInstance()
RegisterGameType
public void RegisterGameType(java.lang.String Name,
java.lang.String ClassName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGameCount
public int getGameCount()
disconnected
public void disconnected(Connection c)
getGameTypes
public java.util.Vector<java.lang.String> getGameTypes()
getGameList
public java.util.Vector<java.lang.String> getGameList()
AddGame
public GameServer AddGame(java.lang.String GameType,
java.lang.String GameName)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeGame
public void removeGame(java.lang.String GameName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGame
public GameServer getGame(java.lang.String gameName)
connectionActive
public boolean connectionActive(long connectionID)
getGameStatusList
public java.util.Vector<GameStatus> getGameStatusList()