1 package org.argosfields.multi.server;
2
3 import java.util.List;
4
5 import org.argosfields.service.LoginException;
6
7 /***
8 * IGameServer.java
9 *
10 * @author Xavier Cho
11 * @version $Revision: 1.2 $ $Date: 2004/04/17 18:21:02 $
12 */
13 public interface IGameServer {
14 void start() throws Exception;
15
16 void stop() throws Exception;
17
18 boolean isRunning();
19
20 Session login(String userName) throws LoginException;
21
22 void logout(String sessionId);
23
24 List getPlayers();
25
26 void addServerStatusListener(IServerStatusListener listener);
27
28 void removeServerStatusListener(IServerStatusListener listener);
29 }
This page was automatically generated by Maven