Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

IQHandler handling RESULT IQs

$
0
0

I am currently using an IQHandler in my openfire plugin to handle incoming IQ packets from my Smack client.  Things have been working fine except for when I do plugin-initiated requests to the client.  I have the client's IQProvider send a IQ.Type.RESULT IQ back at the server after receiving an incoming request.  The problem for me is that IQHandler.handleIQ() seems to expect to return a RESULT IQ, which doesn't make sense when what I'm receiving is already a RESULT IQ.  I tried returning null, but that got me a bunch of errors on the server.  So I figure either I'm doing it wrong or the plugin library is missing this capability, which seems important for server-originated requests.  I tend to assume that it's the first case.  If so, please help me with how to do it correctly.  Thanks!


Viewing all articles
Browse latest Browse all 10742

Trending Articles