feat: implemented reconnectClient
This commit is contained in:
parent
cc8277ff99
commit
0f559d09a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user