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.
specialIQ.patch.zip (1145 Bytes)