how to add to features disco list?
Submitted by Anonymous on Wed, 2009-10-28 18:24
Hi,
I've created implementation of XEP-0055 Jabber Search plugin, but I can't figure out how to add it to feature list, so that it will be returned in response to http://jabber.org/protocol/disco#info query.
So, what I have to do to have my plugin in this (http://jabber.org/protocol/disco#info) list?
Thank you.
- 629 reads
Printer-friendly version- Send to friend






I am sorry for a delayed
I am sorry for a delayed response. I was unavailable last week.
Adding stuff to service discovery is actually very simple. Have a look at a good example in BindResource.java file.
Method:
public Element[] supStreamFeatures(final XMPPResourceConnection session)returns supported array of stream features and method:public Element[] supDiscoFeatures(final XMPPResourceConnection session)returns an array of supported service disco features.Have a look at example code and let me know if you still have questions.
Post new comment