1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:43:22 +08:00
osu-lazer/osu.Game/Online/Multiplayer
Dean Herbert 9f89b4e6d7 Rewrite connection logic to better handle failure cases
The main goal here is to ensure the connection is built each connection
attempt. Previously, the access token would never be updated, leading to
outdated tokens failing repeatedly (in the connection retry loop) and
never being able to establish a new connection as a result.

Due to threading considerations, this isn't as simple as I would hope it
to be. I'm open to proposals as to a better way of handling this.

Also, keep in mind that this logic will need to be abstracted and
(re)used in `SpectatorClient` as well. I've intentionally not done that
yet until we agree that this is a good direction forward.
2021-01-22 14:25:23 +09:00
..
IMultiplayerClient.cs Fix up code comments 2021-01-11 20:31:52 +01:00
IMultiplayerLoungeServer.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
IMultiplayerRoomServer.cs Fix up code comments 2021-01-11 20:31:52 +01:00
IMultiplayerServer.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
InvalidStateChangeException.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
InvalidStateException.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
MultiplayerClient.cs Rewrite connection logic to better handle failure cases 2021-01-22 14:25:23 +09:00
MultiplayerRoom.cs Move thread safety / locking logic from MultiplayerRoom 2020-12-30 20:24:50 +09:00
MultiplayerRoomSettings.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
MultiplayerRoomState.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
MultiplayerRoomUser.cs Fix up code comments 2021-01-11 20:31:52 +01:00
MultiplayerUserState.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
NotHostException.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
NotJoinedRoomException.cs RealtimeMultiplayer -> Multiplayer 2020-12-25 14:10:59 +09:00
StatefulMultiplayerClient.cs Use task completion source for room join flow 2021-01-17 14:40:22 +01:00