Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jason #1
Member since Oct 2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: RpcIq & IqGrabber
I have 3 xmpp clients.

Client1 invokes a getData method via RpcIq on Client2. Before Client2 responds to Client1 it wants to invoke a method on Client3 via RpcIq to get additional details then respond to Client1 with the compiled details.

Is this possible?

I have tried using IqGrabber, the requests are sent as I would expect, but the middle response (from Client3 -> Client2) doesnt get processed until after a timeout from Client1 -> Client3 happens and that response has been sent. It seems its getting queued. The issue resides in Client2.

Thanks

Jason
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi jason,

this should be possible without problems.
Is it possible that your problem is related to the problem discussed here:
http://forum.ag-software.de/thread/751

Alex
Avatar
jason #3
Member since Oct 2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Yes that was exactly the problem, after spawning a thread from the OnIq event handler it is working as expected. Thanks for the help.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS