Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about keepAlive() function #4

Open
THEONE10211024 opened this issue Mar 31, 2015 · 0 comments
Open

about keepAlive() function #4

THEONE10211024 opened this issue Mar 31, 2015 · 0 comments

Comments

@THEONE10211024
Copy link

In keepAlive() function in PushService line 292, as we can see: if "mConnection.sendKeepAlive();" this line throws a MqttException Exception and catched by the exception block, we will cancle both KEEP_ALIVE alarm and RECONNECT alarm.Thus we will lose connection with the server forever! And will not reconnect at some point in the future. What I'm worried is the CLIENT will completely lose connection with the SERVER forever? Am I right and how to figure out the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant