|Re: Obtaining XMPP Chat Room Users [message #618842 is a reply to message #618841]
||Tue, 17 July 2007 19:19
Originally posted by: robertxlongo.gmail.com|
Thank you for the quick response!
"Scott Lewis" <firstname.lastname@example.org> wrote in message
> Hi Robert,
> Robert Longo wrote:
>> I know that I can add an IChatRoomParticipantListener to a
>> IChatRoomContainer to listen for participants arriving and departing from
>> an XMPP chat room; however, I can't seem to figure out how to obtain the
>> initial list of chat room participants. Is this even possible?
> If the IChatRoomParticipantListener is registered with the enclosing
> IChatRoomContainer before the IChatRoomContainer.connect() call is made,
> then it will be notified via handleArrived(IUser user) (followed by
> followed by a handlePresenceUpdated()) of all current chat room
> Then, after arrival, if other users come or go they will similarly result
> in handleArrived/handlePresenceUpdated (join), or
> handlePresenceUpdated/handleDeparted (left) notifications.
> Unlike the roster, the chat room participants list is not maintained as
> state within the provider. If there is a use case where this is not
> sufficient (where it's necessary to have a 'getCurrentParticipants()'
> method on the IChatRoomContainer) please let us know.
>> The comments for bug #167363
>> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=167363) discuss this
>> problem but I cannot figure out if there was a resolution.
Powered by FUDForum
. Page generated in 0.01615 seconds