Hi

I am coding one text chat using libjingle.

To do this, i have one TextSessionClient class which implement
XmppTask.

When i use Gaim client to send message to this TextSessionClient, its
method

(1)bool HandleStanza(...) returned true
(2)and immediately, its int ProcessStart() is called.

HOWEVER, if i use Psi client to send message to this
TextSessionClient, i found that :
(1)bool HandleStanza(...) returned true
BUT
its int ProcessStart() is NOT called.

Through Psi's XML console, i found that the difference is due to the
"new line" characters sent by Psi. For Psi, when it sends out message,
there are some "new line" characters inserted .
If i manually remove such "new line" characters and "transmit" the
same XML code again through Psi's XML console, then :

int ProcessStart() is called

I try to find out the piece of codes from libjingle, which does create
this problem, but i don't understand :

How QueueStanza(...) works. Especially, the Wake().

Please help about the invocation flow. How is the incoming message
processed by libjingle library. I already read through the whole
documents on libjingle webpage. I can roughly understand the flow. But
not so accurate to be the method level.

Thanks a lot
peter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to