1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-26 22:27:58 +01:00

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

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);
}