org.jabber.jabberbeans
Class RosterAdapter

java.lang.Object
  |
  +--org.jabber.jabberbeans.RosterAdapter

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.

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $
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, registerNatives, toString, wait, wait, wait
 

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