Ok, so as far as I understand we could do the following: On the Saros side, have a polling mechanism that retrieves the presence of all contacts in the list. Then I would wonder whether the XMPP server just answers the last known presence status or actively asks the user in question to send his/her presence. On the other hand, as Stefan said, it's the server's job to detect disconnects, not Saros'.
Is that correct? On 9/15/2016 2:20 PM, Stefan Rossbach wrote: > It is part of the server to detect disconnects, not Saros. > > And unplugging is always hard to detect because your PC cannot send a > TCP RST packet. > > And as long as no hop sends an ICMP error packet, the host (XMPP > server) has to guess if > you are still connected or not. > > On 15.09.2016 12:44, Zieris, Franz wrote: >> The timeout package is only for being in-session. >> >> Everything else should be covered by the Roster which provides both >> a method for registering RosterListeners and a getPresence() >> method for querying. >> >> Franz >> >> -----Original Message----- >> From: Zieris, Franz [mailto:franz.zie...@fu-berlin.de] >> Sent: Thursday, September 15, 2016 12:37 PM >> To: Alexander Jakobi <alexander.jak...@fu-berlin.de> >> Cc: dpp-devel@lists.sourceforge.net >> Subject: Re: [DPP-Devel] XMPP server status polling >> >> Are you looking for this: >> https://github.com/saros-project/saros/tree/master/de.fu_berlin.inf.dpp.core/src/de/fu_berlin/inf/dpp/session/internal/timeout >> ? >> >> Franz >> >> -----Original Message----- >> From: Alexander Jakobi [mailto:alexander.jak...@fu-berlin.de] >> Sent: Thursday, September 15, 2016 12:35 PM >> To: dpp-devel@lists.sourceforge.net >> Subject: [DPP-Devel] XMPP server status polling >> >> Hi everyone, >> >> I'm wondering if it's possible to have the XMPP server send updates >> about a "lost" (in the sense of connection lost) user to his/her >> contacts. >> Currently, when simply switching off the network connection when being >> connected to the XMPP server, one's contact are not notified about this >> change and thus one is still shown online for one's contacts. >> >> Is there some sort of polling mechanism in place that could be used? >> >> Cheers, >> Alex >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> DPP-Devel mailing list >> DPP-Devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dpp-devel >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> DPP-Devel mailing list >> DPP-Devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dpp-devel >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> DPP-Devel mailing list >> DPP-Devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dpp-devel ------------------------------------------------------------------------------ _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel