|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.RosterAdapter
RosterAdapter is an abstract class you can extend to get any roster changes as notifications to your code.
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 |
public RosterAdapter()
Method Detail |
public void changedRoster(Roster r)
changedRoster
event indicates that the roster has
received an update. The change is passed as the contents of the
roster extension
changedRoster
in interface RosterListener
r
- a Roster
with changes to the in-
place listpublic void ReplacedRoster(Roster r)
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.
r
- a Roster
from the RosterBean's cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |