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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelGame(String gameId, String byUser) voidchatSubmit(String chatId, String sender, String message) voiddumpInfo()voidenrollUserToGame(String gameId, String username) voidinformLocallyGameOver(String gameId) voidinformStartedByPlayer(String gameId) voidlogout()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) voidrequestUserAttention(long when, String sender, boolean isAdmin, String recipient, String message, int beepCount, long beepInterval, boolean windows) voidvoidvoidvoidstartGameOnPlayerHost(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.voidunenrollUserFromGame(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
-
startGame
-
informStartedByPlayer
-
informLocallyGameOver
-
chatSubmit
-
requestUserAttention
-
watchGame
-
rereadLoginMessage
void rereadLoginMessage() -
shutdownServer
void shutdownServer() -
dumpInfo
void dumpInfo() -
changeProperties
-
logout
void logout()
-