issues
search
nerdshop
/
asinello-client
Client software of the asinello project
Apache License 2.0
1
stars
0
forks
source link
Robust server connection
#13
Open
Oderik
opened
3 years ago
Oderik
commented
3 years ago
(Re-)establish connection:
when network connection becomes available
this should cover statup
when server configuration data changed
when server disconnection was detected
after timeout when a previous connection attempt failed (exponential backoff retry)
maybe retry on button press?
On connection:
sync game state
react to game state changes
During disconnection:
display disconnection effect
differentiate reason? (especially suspicious configuration (empty strings, user interaction required) vs. external conditions (server just doesn't answer))
display connection attempt?
trigger connection attempt on button press?
(Re-)establish connection:
On connection:
During disconnection: