Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Auto Reconnect Issue - Android

Hi,

this is working as intended.  You have to call connect in the connectionLost callback if you want to reconnect.  This is common to several of the Paho clients.

We have a work item to add automatic reconnect to Android, Java, _javascript_ and C clients, but it's not done yet.

Ian

On 10/30/2015 10:12 AM, Melanka Wanniarachchi wrote:

Hello All,

 

When I force close a connection from the server connectionLost happens. But the client is not auto reconnecting.

Is there any restriction of reconnecting when you force close a connection?

 

Thanks.

 

Best Regards,
Melanka Sachith Wanniarachchi



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top