|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RosterEventListener
Interface to listen for roster events. Use the
RosterEventDispatcher.addListener(RosterEventListener)
method to register for events.
Method Summary | |
---|---|
boolean |
addingContact(Roster roster,
RosterItem item,
boolean persistent)
Notification message indicating that a contact is about to be added to a roster. |
void |
contactAdded(Roster roster,
RosterItem item)
Notification message indicating that a contact has been added to a roster. |
void |
contactDeleted(Roster roster,
RosterItem item)
Notification message indicating that a contact has been deleted from a roster. |
void |
contactUpdated(Roster roster,
RosterItem item)
Notification message indicating that a contact has been updated. |
void |
rosterLoaded(Roster roster)
Notification message indicating that a roster has just been loaded. |
Method Detail |
---|
void rosterLoaded(Roster roster)
roster
- the loaded roster.boolean addingContact(Roster roster, RosterItem item, boolean persistent)
roster
- the roster that was updated.item
- the new roster item.persistent
- true if the new contact is going to be saved to the database.
void contactAdded(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the new roster item.void contactUpdated(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the updated roster item.void contactDeleted(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the roster item that was deleted.
|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |