handleAIMEvents() is completed??

2 views
Skip to first unread message

tomeanand

unread,
Nov 12, 2008, 2:43:20 AM11/12/08
to wimas3
Hello Rizwan,

I am listening the SessionEvent.EVENTS_FETCHED and in the Session.as
its in turn invokes the handleAIMEvents();
If I am not wrong we should listen to the DataIMEvent to see the
events fetched right?

But i have seen a comment in the code ""only the BuddyList event and
the ENDSESSION is handled correctly""
So you mean to say the rest of the fetch events we receive is not in
the correct format.
Because i am expecting some events ( As per the javascript api it
should be FetchEventType.IM i guess).
Can you put some light on this.

Regards,
Anand

Rizwan Sattar

unread,
Nov 13, 2008, 12:18:50 PM11/13/08
to wim...@googlegroups.com
Hi Anand,

Yes please excuse the old comment, handlAIMEvents is fully implemented now :)

Rizwan Sattar

unread,
Nov 13, 2008, 12:20:49 PM11/13/08
to wim...@googlegroups.com
Hi Anand, you don't have to listen for SessionEvent.EVENTS_FETCHED, unless you want to know how the fetchEvents process is going. handleAIMEvents will dispatch all the different events as it gets them (like BuddyListEvent.LIST_RECEIVED, UserEvent.BUDDY_PRESENCE_UPDATED, IMEvent.IM_RECEIVED, etc).

Thanks,
Rizwan

On Tue, Nov 11, 2008 at 11:43 PM, tomeanand <tome...@gmail.com> wrote:

tomeanand

unread,
Nov 14, 2008, 1:33:21 AM11/14/08
to wimas3
Hello Rizwan,

Thanks a lot for your help.
And I took the latest version from the svn to implement your solution.

Regards,
Anand

On Nov 13, 10:20 pm, "Rizwan Sattar" <rsat...@gmail.com> wrote:
> Hi Anand, you don't have to listen for SessionEvent.EVENTS_FETCHED, unless
> you want to know how the fetchEvents process is going. handleAIMEvents will
> dispatch all the different events as it gets them (like
> BuddyListEvent.LIST_RECEIVED, UserEvent.BUDDY_PRESENCE_UPDATED,
> IMEvent.IM_RECEIVED, etc).
>
> Thanks,
> Rizwan
>
Reply all
Reply to author
Forward
0 new messages