marcoallanda01 / IS23AM15

4 stars 2 forks source link

Server should send messages to client in a specific order #27

Closed PietroAmmaturo closed 1 year ago

PietroAmmaturo commented 1 year ago

In case of RMI the response to the client should be asynchronous (one thread for each client), but methods should be called in order for the individual client. In case of TCP the response should be synchronous and methods should be called in order. Specifically in the case of reconnection, the last message should always be a GameSetUp, to avoid re-rendering the view while missing data (e.g. bookshelves).