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

Patch to enable unknown IQ messages to include childXML

$
0
0

I had a need to send IQ messages to a client, and then get the response(without modeling).

 

This mostly worked. I could attach a packetCollector for the packetId and get an IQ subclass. The only problerm was the unknown IQ dropped any childXML beneath. This patch creates a StringIQ class that simply stores any text underneath the IQ.

 

It also edited the parseContent method to use a StringBuffer instead of concatination.


Viewing all articles
Browse latest Browse all 10742

Trending Articles