org.argosfields.multi.server
Interface IGameServer

All Known Implementing Classes:
GameServer

public interface IGameServer

IGameServer.java

Version:
$Revision: 1.2 $ $Date: 2004/04/17 18:21:02 $
Author:
Xavier Cho

Method Summary
 void addServerStatusListener(IServerStatusListener listener)
           
 List getPlayers()
           
 boolean isRunning()
           
 Session login(String userName)
           
 void logout(String sessionId)
           
 void removeServerStatusListener(IServerStatusListener listener)
           
 void start()
           
 void stop()
           
 

Method Detail

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

isRunning

public boolean isRunning()

login

public Session login(String userName)
              throws LoginException
Throws:
LoginException

logout

public void logout(String sessionId)

getPlayers

public List getPlayers()

addServerStatusListener

public void addServerStatusListener(IServerStatusListener listener)

removeServerStatusListener

public void removeServerStatusListener(IServerStatusListener listener)


Copyright © Gnome Korea. All Rights Reserved.