[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [ecf-dev] Automatically reconnect to XMPP server | 
Hi,
in the project I'm currently working on, we would like to automatically 
reconnect to an XMPP server if the connection fails. Smack version 3.1 
supports this, so I have tried upgrading to Smack 3.1 (using the patch 
from [1]). However, I found out that when ECF's XMPP provider receives 
an event that the connection was closed, it then calls the 
XMPPConnections disconnect method, after which the XMPPConnection no 
longer attempts to reconnect to the server.
So now my question is: is there already some other way in ECF to 
automatically reconnect? If not, would it make sense to implement this 
in the XMPP provider (based on the support from Smack)? Obviously that 
would work only if the higher layers such as remote services can handle 
a disconnect/reconnect of the underlying connection.
Thanks,
Joerg
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=276879
--
Dipl.-Wirt.Inf. Jörg Rathlev        rathlev@xxxxxxxxxxxxxxxxxxxxxxxxx
Zentrum für Architektur und                    Fon: +49-40-42883-2306
Gestaltung von IT-Systemen (AGIS)              Fax: +49-40-42883-2303
MIN-Fakultät, Department Informatik            Sec: +49-40-42883-2413
Universität Hamburg          http://swt-www.informatik.uni-hamburg.de