org.jabber.jabberbeans
Interface RosterListener

All Known Implementing Classes:
RosterAdapter

public interface RosterListener

RosterListener is an interface you can implement in a client to get any roster changes as notifications to your code.

See Also:
RosterAdapter

Method Summary
 void changedRoster(Roster r)
          The changedRoster event is fired when there has been a change to the roster state.
 void replacedRoster(Roster r)
          The replacedRoster event is fired when a completely new roster has replaced the existing one.
 

Method Detail

changedRoster

public void changedRoster(Roster r)
The changedRoster event is fired when there has been a change to the roster state. The passed-in Roster is a 'list' of changes. The cached value in the RosterBean is the new, full list.

Parameters:
r - a Roster Extension describing the changes

replacedRoster

public void replacedRoster(Roster r)
The replacedRoster event is fired when a completely new roster has replaced the existing one. The passed-in Roster is a full new list of Roster entries. The cached value in the RosterBean is equivalent to this value.

Parameters:
r - a Roster Extension containing the new roster