--- tags : client-archief --- :::danger Deze file is gearchiveerd, deze wordt enkel nog bewaard om een overzicht te hebben van onze werking. ::: # Client meeting (7-11-2022) ## Flow of the process Define in which ways code can be called in the client application : 1. Create ChatClient object 2. Wait for the connection to open 3. Start the login 4. After login : request chatrooms & show possible chatrooms + command entry 5. From then : only new code is being called from events : - User input (command or message) -> processInput - Server message -> WebSocketInterface.onMessage() - Other events (Connection errors...) 6. Everytime new login is initiated (by logging out) OR left chatroom : execute step 4. ## Detailed definition of WebSocketInterface methods Deze methods should be used to request actions or information from the server : [Websocket interface methods](/yVwWZMyTTISKWzl4CKSXyA).