Added method to allow tracking presence updates in the roster.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2053 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-08-21 03:30:25 +00:00 committed by mtucker
parent 9f687f7f1c
commit d0ce3d5687
1 changed files with 10 additions and 3 deletions

View File

@ -53,16 +53,23 @@
package org.jivesoftware.smack;
/**
* A listener that is fired anytime a roster is changed.
* A listener that is fired any time a roster is changed or the presence of
* a user in the roster is changed.
*
* @author Matt Tucker
*/
public interface RosterListener {
/**
* Called when the roster is modified.
* Called when a roster entry is added or removed.
*/
public void rosterModified();
public void rosterModified();
/**
* Called when the presence of a roster entry is changed.
*
* @param XMPPAddress the XMPP address of the user who's presence has changed.
*/
public void presenceChanged(String XMPPAddress);
}