Package net.sf.colossus.webcommon
Interface IWebServer
- All Known Implementing Classes:
WebClientSocketThread
,WebServer
public interface IWebServer
Interface for what WebClient sends to WebServer
- 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
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelGame
(String gameId, String byUser) void
chatSubmit
(String chatId, String sender, String message) void
dumpInfo()
void
enrollUserToGame
(String gameId, String username) void
informLocallyGameOver
(String gameId) void
informStartedByPlayer
(String gameId) void
logout()
proposeGame
(String initiator, String variant, String viewmode, long startAt, int duration, String summary, String expire, boolean unlimMulli, boolean balTowers, int min, int target, int max) void
requestUserAttention
(long when, String sender, boolean isAdmin, String recipient, String message, int beepCount, long beepInterval, boolean windows) void
void
void
void
startGameOnPlayerHost
(String gameId, String hostingPlayer, String playerHost, int port) A game was started by a WebClient user locally on his computer and is ready to accept the other players as remote client; so we notify them and tell them host and port to where to connect.void
unenrollUserFromGame
(String gameId, String username) void
-
Field Details
-
Login
- See Also:
-
Logout
- See Also:
-
RegisterUser
- See Also:
-
ConfirmRegistration
- See Also:
-
ChangePassword
- See Also:
-
Propose
- See Also:
-
Enroll
- See Also:
-
Unenroll
- See Also:
-
Start
- See Also:
-
StartAtPlayer
- See Also:
-
StartedByPlayer
- See Also:
-
LocallyGameOver
- See Also:
-
Cancel
- See Also:
-
ChatSubmit
- See Also:
-
ShutdownServer
- See Also:
-
Echo
- See Also:
-
RereadLoginMessage
- See Also:
-
RequestUserAttention
- See Also:
-
PingResponse
- See Also:
-
WatchGame
- See Also:
-
ConfirmCommand
- See Also:
-
DumpInfo
- See Also:
-
generalChatName
- See Also:
-
WebProtocolSeparator
- See Also:
-
-
Method Details
-
proposeGame
-
enrollUserToGame
-
unenrollUserFromGame
-
cancelGame
-
startGameOnPlayerHost
A game was started by a WebClient user locally on his computer and is ready to accept the other players as remote client; so we notify them and tell them host and port to where to connect. -
startGame
-
informStartedByPlayer
-
informLocallyGameOver
-
chatSubmit
-
requestUserAttention
-
watchGame
-
rereadLoginMessage
void rereadLoginMessage() -
shutdownServer
void shutdownServer() -
dumpInfo
void dumpInfo() -
changeProperties
-
logout
void logout()
-