|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.muc.DefaultParticipantStatusListener
public class DefaultParticipantStatusListener
Default implementation of the ParticipantStatusListener 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 | |
|---|---|
DefaultParticipantStatusListener()
|
|
| Method Summary | |
|---|---|
void |
adminGranted(String participant)
Called when an owner grants administrator privileges to a user. |
void |
adminRevoked(String participant)
Called when an owner revokes administrator privileges from a user. |
void |
banned(String participant,
String actor,
String reason)
Called when an administrator or owner banned a participant from the room. |
void |
joined(String participant)
Called when a new room occupant has joined the room. |
void |
kicked(String participant,
String actor,
String reason)
Called when a room participant has been kicked from the room. |
void |
left(String participant)
Called when a room occupant has left the room on its own. |
void |
membershipGranted(String participant)
Called when an administrator grants a user membership to the room. |
void |
membershipRevoked(String participant)
Called when an administrator revokes a user membership to the room. |
void |
moderatorGranted(String participant)
Called when an administrator grants moderator privileges to a user. |
void |
moderatorRevoked(String participant)
Called when an administrator revokes moderator privileges from a user. |
void |
nicknameChanged(String participant,
String newNickname)
Called when a participant changed his/her nickname in the room. |
void |
ownershipGranted(String participant)
Called when an owner grants a user ownership on the room. |
void |
ownershipRevoked(String participant)
Called when an owner revokes a user ownership on the room. |
void |
voiceGranted(String participant)
Called when a moderator grants voice to a visitor. |
void |
voiceRevoked(String participant)
Called when a moderator revokes voice from a participant. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultParticipantStatusListener()
| Method Detail |
|---|
public void joined(String participant)
ParticipantStatusListener
joined in interface ParticipantStatusListenerparticipant - the participant that has just joined the room
(e.g. room@conference.jabber.org/nick).public void left(String participant)
ParticipantStatusListener
left in interface ParticipantStatusListenerparticipant - the participant that has left the room on its own.
(e.g. room@conference.jabber.org/nick).
public void kicked(String participant,
String actor,
String reason)
ParticipantStatusListener
kicked in interface ParticipantStatusListenerparticipant - the participant that was kicked from the room
(e.g. room@conference.jabber.org/nick).actor - the moderator that kicked the occupant from the room (e.g. user@host.org).reason - the reason provided by the actor to kick the occupant from the room.public void voiceGranted(String participant)
ParticipantStatusListener
voiceGranted in interface ParticipantStatusListenerparticipant - the participant that was granted voice in the room
(e.g. room@conference.jabber.org/nick).public void voiceRevoked(String participant)
ParticipantStatusListener
voiceRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked voice from the room
(e.g. room@conference.jabber.org/nick).
public void banned(String participant,
String actor,
String reason)
ParticipantStatusListener
banned in interface ParticipantStatusListenerparticipant - the participant that was banned from the room
(e.g. room@conference.jabber.org/nick).actor - the administrator that banned the occupant (e.g. user@host.org).reason - the reason provided by the administrator to ban the occupant.public void membershipGranted(String participant)
ParticipantStatusListener
membershipGranted in interface ParticipantStatusListenerparticipant - the participant that was granted membership in the room
(e.g. room@conference.jabber.org/nick).public void membershipRevoked(String participant)
ParticipantStatusListener
membershipRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked membership from the room
(e.g. room@conference.jabber.org/nick).public void moderatorGranted(String participant)
ParticipantStatusListener
moderatorGranted in interface ParticipantStatusListenerparticipant - the participant that was granted moderator privileges in the room
(e.g. room@conference.jabber.org/nick).public void moderatorRevoked(String participant)
ParticipantStatusListener
moderatorRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked moderator privileges in the room
(e.g. room@conference.jabber.org/nick).public void ownershipGranted(String participant)
ParticipantStatusListener
ownershipGranted in interface ParticipantStatusListenerparticipant - the participant that was granted ownership on the room
(e.g. room@conference.jabber.org/nick).public void ownershipRevoked(String participant)
ParticipantStatusListener
ownershipRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked ownership on the room
(e.g. room@conference.jabber.org/nick).public void adminGranted(String participant)
ParticipantStatusListener
adminGranted in interface ParticipantStatusListenerparticipant - the participant that was granted administrator privileges
(e.g. room@conference.jabber.org/nick).public void adminRevoked(String participant)
ParticipantStatusListener
adminRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked administrator privileges
(e.g. room@conference.jabber.org/nick).
public void nicknameChanged(String participant,
String newNickname)
ParticipantStatusListener
nicknameChanged in interface ParticipantStatusListenerparticipant - the participant that was revoked administrator privileges
(e.g. room@conference.jabber.org/nick).newNickname - the new nickname that the participant decided to use.
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||