For my work, i have to develop a Jabber client in Java. To do that, i use smack. However, i don’'t understand a thing about IQProviders etc.
Create a new instance of a specific classe when we receive an IQ packet is a very good idea. But why don’'t we have the ability to make a response to this packet.
For example, i have to manage the jabber:iq:version packet. So when i receive an empty jabber:iq:version packet, i would like to make a response! It would be easy to add a new method such as makeResponse which is called when the packet has been parsed.
Currently, the only way we have to make responses is to do that in the getChildElementXML but it’'s very ugly !
Maybe i forgot something but if not, i’‘ll change the smack sources to do that and i’'ll can send you modifications.