Click or drag to resize

SFSEventCONNECTION_RESUME Field

Dispatched when the connection between the client and the SmartFoxServer 2X instance is re-established after a temporary disconnection, while the SmartFoxServer 2X HRC system is available in the Zone.

Namespace:  Sfs2X.Core
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static readonly string CONNECTION_RESUME

Field Value

Type: String
Remarks
The HRC system allows a broken connection to be re-established transparently within a certain amount of time, without losing any of the current application state. For example this allows any player to get back to a game without loosing the match because of a sloppy internet connection.
When this event is dispatched the application interface should be reverted to the state it had before the disconnection. In case the reconnection attempt fails, the CONNECTION_LOST event is fired.

No parameters are available for this event object.

Examples
See the CONNECTION_RETRY example.
See Also