org.jabber.jabberbeans
Class RosterAdapter

java.lang.Object
  |
  +--org.jabber.jabberbeans.RosterAdapter
All Implemented Interfaces:
RosterListener, java.io.Serializable

public abstract class RosterAdapter
extends java.lang.Object
implements RosterListener, java.io.Serializable

RosterAdapter is an abstract class you can extend to get any roster changes as notifications to your code.

See Also:
Serialized Form

Constructor Summary
RosterAdapter()
           
 
Method Summary
 void changedRoster(Roster r)
          The changedRoster event indicates that the roster has received an update.
 void ReplacedRoster(Roster r)
          The ReplacedRoster event indicates that there was a complete reload of the roster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jabber.jabberbeans.RosterListener
replacedRoster
 

Constructor Detail

RosterAdapter

public RosterAdapter()
Method Detail

changedRoster

public void changedRoster(Roster r)
The changedRoster event indicates that the roster has received an update. The change is passed as the contents of the roster extension

Specified by:
changedRoster in interface RosterListener
Parameters:
r - a Roster with changes to the in- place list

ReplacedRoster

public void ReplacedRoster(Roster r)
The ReplacedRoster event indicates that there was a complete reload of the roster. It should always be equivalent to a changedRoster event, because the roster passed is the full new roster.

Parameters:
r - a Roster from the RosterBean's cache