Skip to content

about keepAlive() function #4

@THEONE10211024

Description

@THEONE10211024

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions