feat: implemented reconnectClient

This commit is contained in:
Yannik Bretschneider 2021-06-07 01:45:36 +02:00
parent cc8277ff99
commit 0f559d09a5

View File

@ -134,6 +134,10 @@ public class LobbyManager {
}
}
public void restoreConnection(WebSocket connection, Participant participant) {
participant.setConnection(connection);
}
/**
* Initializes a new {@link LobbyConnection} with a not yet initialized {@link Lobby}. The {@link LobbyConnection}
* gets some GameID, and also the sendMessageCallback and sendErrorCallback from the