Reconnection Conditions
BACKND Chat regards it as a disconnection if there is no communication with the server for 1 minute and 30 seconds or over.
In BACKND versions 5.4.5 or earlier, the client tries to reconnect.
In BACKND versions 5.5.0 or later, however, the client simply destroys the connection and does not attempt reconnection.
BACKND versions 5.5.0 or later
In BACKND Chat, the client leaves the channel without trying to reconnect when its connection with the chat server is severed.
In this case, a channel disconnection event occurs, and you must request the connection to the channel.
When JoinChannel is called to reconnect to the disconnected channel, the reconnection may not succeed if the room is full.
BACKND versions 5.4.5 or earlier
BACKND Chat automatically tries to reconnect when the client and chat server are disconnected.
In order to reconnect to a channel, the following conditions must be met:
- The client must be connected to the network.
- The poll method must be called regularly.
Different events are called depending on whether the reconnection was made by yourself or another user.
When you attempt to reconnect
Upon successful reconnection to general channel General channel connection event is called.
When reconnecting to the general channel fails General channel connection end event is called.
When another user attempts to reconnect
Upon successful reconnection to general channel General channel reconnection success event is called.
When reconnecting to the general channel fails General channel connection end event is called.