org.argosfields.multi.server
Class GameServer
java.lang.Object
org.argosfields.multi.server.GameServer
- All Implemented Interfaces:
- IGameServer
- public final class GameServer
- extends Object
- implements IGameServer
GameServer.java
- Version:
- $Revision: 1.2 $ $Date: 2004/04/17 18:21:02 $
- Author:
- Xavier Cho
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static IGameServer getInstance()
start
public void start()
throws Exception
- Specified by:
start
in interface IGameServer
- Throws:
Exception
- See Also:
IGameServer.start()
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface IGameServer
- See Also:
IGameServer.isRunning()
stop
public void stop()
throws Exception
- Specified by:
stop
in interface IGameServer
- Throws:
Exception
- See Also:
IGameServer.stop()
login
public Session login(String userName)
throws LoginException
- Specified by:
login
in interface IGameServer
- Throws:
LoginException
- See Also:
IGameServer.login(java.lang.String)
logout
public void logout(String sessionId)
- Specified by:
logout
in interface IGameServer
- See Also:
IGameServer.logout(java.lang.String)
getPlayers
public List getPlayers()
- Specified by:
getPlayers
in interface IGameServer
- See Also:
IGameServer.getPlayers()
addServerStatusListener
public void addServerStatusListener(IServerStatusListener listener)
- Specified by:
addServerStatusListener
in interface IGameServer
- See Also:
org.argosfields.multi.server.IGameServer#addServerStatusListener(org.argosfields.server.IServerStatusListener)
removeServerStatusListener
public void removeServerStatusListener(IServerStatusListener listener)
- Specified by:
removeServerStatusListener
in interface IGameServer
- See Also:
org.argosfields.multi.server.IGameServer#removeServerStatusListener(org.argosfields.server.IServerStatusListener)
fireServerStarted
protected void fireServerStarted()
fireServerStopped
protected void fireServerStopped()
main
public static void main(String[] args)
Copyright © Gnome Korea. All Rights Reserved.