About recovery

0 votes
Cocos2d-x SDK

 

During the recovery period, if there is new message sent to this room.

will the user get all the messages after recovered?

 

Would client lose messages even if sucessfully recovered?

if so, how to compensatie the lost?

 

Jo
asked Mar 7, 2014 in AppWarp by joappdev (20 points)

1 Answer

0 votes
AppWarp server will give you the events when a player loses connectivity and restores connectivity. How you handle these is up to you.

For example - lets say X and Y areplaying. if X loses connectivity, Y will get onUserPaused event informing him that X is in paused state. It should then not send any new data. Once X regains connectivity - Y will get onUserResumed event informing him that X is back live in the room. It can then continue to send its messages.
answered Mar 7, 2014 by dhruvc (1,099 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...