Add command CREATE_LOBBY #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
The reccommended type is: Task
Summary
The
CREATE_LOBBYcommand creates a new empty lobby. In the current implementation the request carries no parameters . The server allocates the next available small integer ID (range 1..8). If the server already manages the maximum number of lobbies, the command fails.Context
Request, CommandParser, Response and CommandHandler.
CreateLobbyHandlercallslobbyManager.createNewLobby(null)and returns the allocated numeric lobby id.Current Progress
Request
Response
Error example
Checklist
assigned to @jona.walpert
marked the checklist item CreateLobbyRequest as completed
marked the checklist item CreateLobbyParser as completed
marked the checklist item CreateLobbyResponse as completed
marked the checklist item CreateLobbyHandler as completed
mentioned in commit
ca4283bbe7marked the checklist item Update protocol documentation as completed
marked the checklist item Write JavaDoc as completed
mentioned in merge request !117
mentioned in commit
f5ee57454d