SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::ConnectionRetry Struct Reference

Dispatched when the connection to the server is interrupted abruptly, while the SmartFoxServer 3 HRC system is available in the Zone. More...

#include <SFSEvent.h>

Detailed Description

Dispatched when the connection to the server is interrupted abruptly, while the SmartFoxServer 3 HRC system is available in the Zone.

The HRC system re-establishes a broken connection in a transparent way, inside a certain amount of time, and it keeps the current application state. For example, this lets a player get back into a game without losing the match because of an unstable connection.

While this lasts, the API is "frozen": no new request can be sent. We strongly recommend that you handle this event and freeze the application interface too, until the reconnection succeeds and a SFSEvent::CONNECTION_RESUME event arrives, or it fails and a SFSEvent::CONNECTION_LOST event arrives.

This event carries no data.


The documentation for this struct was generated from the following file: