mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-04 15:45: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:
parent
9f687f7f1c
commit
d0ce3d5687
1 changed files with 10 additions and 3 deletions
|
@ -53,16 +53,23 @@
|
||||||
package org.jivesoftware.smack;
|
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
|
* @author Matt Tucker
|
||||||
*/
|
*/
|
||||||
public interface RosterListener {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue