1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-10 18:59:41 +02:00

Added support to return disco#info features of hosted nodes. SMACK-150

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4341 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2006-07-10 16:56:14 +00:00 committed by gato
parent f9ecbb3297
commit c49356052f
3 changed files with 60 additions and 22 deletions

View file

@ -24,10 +24,11 @@ import java.util.Iterator;
/**
* The NodeInformationProvider is responsible for providing information (i.e. DiscoverItems.Item)
* about a given node. This information will be requested each time this XMPPP client receives a
* disco items requests on the given node.
*
* The NodeInformationProvider is responsible for providing supported features and hosted
* items (i.e. DiscoverItems.Item) about a given node. This information will be requested
* each time this XMPPP client receives a disco info or items requests on the given node.
* each time this XMPPP client receives a disco info or items requests on the given node.
*
* @author Gaston Dombiak
*/
public interface NodeInformationProvider {
@ -41,4 +42,13 @@ public interface NodeInformationProvider {
*/
public abstract Iterator getNodeItems();
/**
* Returns an Iterator on the features defined in the node. For
* example, the entity caps protocol specifies that an XMPP client
* should answer with each feature supported by the client version
* or extension.
*
* @return an Iterator on the feature strings defined in the node.
*/
public abstract Iterator getNodeFeatures();
}