Package net.sf.colossus.webcommon
Interface IWebClient
- All Known Implementing Classes:
CmdLineWebClient
,WebClient
,WebServerClient
public interface IWebClient
Interface for what WebServer (Public Game Server) sends to WebClient
- Author:
- Clemens Katzer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
chatDeliver
(String chatId, long when, String sender, String message, boolean resent) void
connectionReset
(boolean forcedLogout) void
deliverGeneralMessage
(long when, boolean error, String title, String message) void
void
didUnenroll
(String gameId, String username) void
gameCancelled
(String gameId, String byUser) void
void
gameStartsNow
(String gameId, int port, String hostingHost) void
gameStartsSoon
(String gameId, String startUser) int
void
void
requestAttention
(long when, String byUser, boolean byAdmin, String message, int beepCount, long beepInterval, boolean windows) void
systemMessage
(long when, String message) void
void
watchGameInfo
(String gameId, String host, int port)
-
Field Details
-
alreadyLoggedIn
- See Also:
-
grantAdmin
- See Also:
-
tooManyUsers
- See Also:
-
connectionClosed
- See Also:
-
forcedLogout
- See Also:
-
didEnroll
- See Also:
-
didUnenroll
- See Also:
-
gameInfo
- See Also:
-
userInfo
- See Also:
-
gameStarted
- See Also:
-
gameStartsNow
- See Also:
-
gameStartsSoon
- See Also:
-
gameCancelled
- See Also:
-
chatDeliver
- See Also:
-
generalMessage
- See Also:
-
systemMessage
- See Also:
-
requestAttention
- See Also:
-
watchGameInfo
- See Also:
-
pingRequest
- See Also:
-
-
Method Details
-
grantAdminStatus
void grantAdminStatus() -
didEnroll
-
didUnenroll
-
userInfo
-
gameInfo
-
gameStartsNow
-
gameStartsSoon
-
gameCancelled
-
chatDeliver
-
connectionReset
void connectionReset(boolean forcedLogout) -
getClientVersion
int getClientVersion() -
deliverGeneralMessage
-
systemMessage
-
requestAttention
-
watchGameInfo
-