Smack support for ad-hoc commands

In the following forum thread,

http://www.igniterealtime.org/forum/message.jspa?messageID=136461#136461

it’'s mentioned that Smack support for ad-hoc commands has been developed by some community member. I was wondering if anyone has that code and would let me know how to get the code.

Thanks in advance,

Shravan

Hey Shravan,

Attached you will find the contributed code. It has some automated test cases so it is working code. You can use the test cases to learn how to use the API. Having said that, the contribution is yet not part of the official Smack code so it means that the API may change.

Regards,

– Gato
AdHocCommand.zip (28728 Bytes)

Hello Gato,

Thanks a lot for sending the code. It works great!

Thanks,

Shravan