|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.muc.DefaultUserStatusListener
public class DefaultUserStatusListener
Default implementation of the UserStatusListener interface.
This class does not provide any behavior by default. It just avoids having to implement all the inteface methods if the user is only interested in implementing some of the methods.
| Constructor Summary | |
|---|---|
DefaultUserStatusListener()
|
|
| Method Summary | |
|---|---|
void |
adminGranted()
Called when an owner grants administrator privileges to your user. |
void |
adminRevoked()
Called when an owner revokes administrator privileges from your user. |
void |
banned(String actor,
String reason)
Called when an administrator or owner banned your user from the room. |
void |
kicked(String actor,
String reason)
Called when a moderator kicked your user from the room. |
void |
membershipGranted()
Called when an administrator grants your user membership to the room. |
void |
membershipRevoked()
Called when an administrator revokes your user membership to the room. |
void |
moderatorGranted()
Called when an administrator grants moderator privileges to your user. |
void |
moderatorRevoked()
Called when an administrator revokes moderator privileges from your user. |
void |
ownershipGranted()
Called when an owner grants to your user ownership on the room. |
void |
ownershipRevoked()
Called when an owner revokes from your user ownership on the room. |
void |
voiceGranted()
Called when a moderator grants voice to your user. |
void |
voiceRevoked()
Called when a moderator revokes voice from your user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUserStatusListener()
| Method Detail |
|---|
public void kicked(String actor,
String reason)
UserStatusListener
kicked in interface UserStatusListeneractor - the moderator that kicked your user from the room (e.g. user@host.org).reason - the reason provided by the actor to kick you from the room.public void voiceGranted()
UserStatusListener
voiceGranted in interface UserStatusListenerpublic void voiceRevoked()
UserStatusListener
voiceRevoked in interface UserStatusListener
public void banned(String actor,
String reason)
UserStatusListener
banned in interface UserStatusListeneractor - the administrator that banned your user (e.g. user@host.org).reason - the reason provided by the administrator to banned you.public void membershipGranted()
UserStatusListener
membershipGranted in interface UserStatusListenerpublic void membershipRevoked()
UserStatusListener
membershipRevoked in interface UserStatusListenerpublic void moderatorGranted()
UserStatusListener
moderatorGranted in interface UserStatusListenerpublic void moderatorRevoked()
UserStatusListener
moderatorRevoked in interface UserStatusListenerpublic void ownershipGranted()
UserStatusListener
ownershipGranted in interface UserStatusListenerpublic void ownershipRevoked()
UserStatusListener
ownershipRevoked in interface UserStatusListenerpublic void adminGranted()
UserStatusListener
adminGranted in interface UserStatusListenerpublic void adminRevoked()
UserStatusListener
adminRevoked in interface UserStatusListener
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||