Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » The IRosterListener.handleRosterUpdate problem
The IRosterListener.handleRosterUpdate problem [message #618695] Sat, 16 June 2007 06:48 Go to next message
czhcc is currently offline czhccFriend
Messages: 11
Registered: July 2009
Junior Member
I use ECF-RC3, xmpp, the server is openfire3.3.1.
When a user(etc user1) has logged. The status is AVAILABLE.
When another user(etc user2) has logged after. The user1 status can't be
received, the handleRosterUpdate can't be call.
The user2 show user1 status is unavailable.

When the server is jabberd,no problem.
Re: The IRosterListener.handleRosterUpdate problem [message #618696 is a reply to message #618695] Mon, 18 June 2007 18:12 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Cui,

cui zihui wrote:
> I use ECF-RC3, xmpp, the server is openfire3.3.1.
> When a user(etc user1) has logged. The status is AVAILABLE.
> When another user(etc user2) has logged after. The user1 status can't be
> received, the handleRosterUpdate can't be call.
> The user2 show user1 status is unavailable.
>
> When the server is jabberd,no problem.


Thanks for the report. So if I'm understanding you correctly the
openfire 3.3.1 server does not send a second status change message to
user2 for the user1 AVAILABLE. Is that right?

One thing that may be going wrong here...I checked the code and when
user2 connects the first thing it does is retrieve a full copy of its
roster from the server...and then calls

rosterUpdateListeners.handleRosterUpdate(roster,roster)

Which means that any roster update listeners should completely refresh
their contents when this occurs (the IRosterItem second parameter is the
IRoster itself...i.e. the whole roster changed).

Scott
Previous Topic:ECF RC3 again
Next Topic:Some cool work
Goto Forum:
  


Current Time: Tue Apr 16 05:35:34 GMT 2024

Powered by FUDForum. Page generated in 0.27200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top