public class DefaultParticipantStatusListener extends java.lang.Object implements ParticipantStatusListener
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 and Description |
|---|
DefaultParticipantStatusListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
adminGranted(java.lang.String participant)
Called when an owner grants administrator privileges to a user.
|
void |
adminRevoked(java.lang.String participant)
Called when an owner revokes administrator privileges from a user.
|
void |
banned(java.lang.String participant)
Called when an administrator or owner banned a participant from the room.
|
void |
joined(java.lang.String participant)
Called when a new room occupant has joined the room.
|
void |
kicked(java.lang.String participant)
Called when a room participant has been kicked from the room.
|
void |
left(java.lang.String participant)
Called when a room occupant has left the room on its own.
|
void |
membershipGranted(java.lang.String participant)
Called when an administrator grants a user membership to the room.
|
void |
membershipRevoked(java.lang.String participant)
Called when an administrator revokes a user membership to the room.
|
void |
moderatorGranted(java.lang.String participant)
Called when an administrator grants moderator privileges to a user.
|
void |
moderatorRevoked(java.lang.String participant)
Called when an administrator revokes moderator privileges from a user.
|
void |
nicknameChanged(java.lang.String nickname)
Called when a participant changed his/her nickname in the room.
|
void |
ownershipGranted(java.lang.String participant)
Called when an owner grants a user ownership on the room.
|
void |
ownershipRevoked(java.lang.String participant)
Called when an owner revokes a user ownership on the room.
|
void |
voiceGranted(java.lang.String participant)
Called when a moderator grants voice to a visitor.
|
void |
voiceRevoked(java.lang.String participant)
Called when a moderator revokes voice from a participant.
|
public void joined(java.lang.String participant)
ParticipantStatusListenerjoined in interface ParticipantStatusListenerparticipant - the participant that has just joined the room
(e.g. room@conference.jabber.org/nick).public void left(java.lang.String participant)
ParticipantStatusListenerleft in interface ParticipantStatusListenerparticipant - the participant that has left the room on its own.
(e.g. room@conference.jabber.org/nick).public void kicked(java.lang.String participant)
ParticipantStatusListenerkicked in interface ParticipantStatusListenerparticipant - the participant that was kicked from the room
(e.g. room@conference.jabber.org/nick).public void voiceGranted(java.lang.String participant)
ParticipantStatusListenervoiceGranted in interface ParticipantStatusListenerparticipant - the participant that was granted voice in the room
(e.g. room@conference.jabber.org/nick).public void voiceRevoked(java.lang.String participant)
ParticipantStatusListenervoiceRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked voice from the room
(e.g. room@conference.jabber.org/nick).public void banned(java.lang.String participant)
ParticipantStatusListenerbanned in interface ParticipantStatusListenerparticipant - the participant that was banned from the room
(e.g. room@conference.jabber.org/nick).public void membershipGranted(java.lang.String participant)
ParticipantStatusListenermembershipGranted in interface ParticipantStatusListenerparticipant - the participant that was granted membership in the room
(e.g. room@conference.jabber.org/nick).public void membershipRevoked(java.lang.String participant)
ParticipantStatusListenermembershipRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked membership from the room
(e.g. room@conference.jabber.org/nick).public void moderatorGranted(java.lang.String participant)
ParticipantStatusListenermoderatorGranted in interface ParticipantStatusListenerparticipant - the participant that was granted moderator privileges in the room
(e.g. room@conference.jabber.org/nick).public void moderatorRevoked(java.lang.String participant)
ParticipantStatusListenermoderatorRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked moderator privileges in the room
(e.g. room@conference.jabber.org/nick).public void ownershipGranted(java.lang.String participant)
ParticipantStatusListenerownershipGranted in interface ParticipantStatusListenerparticipant - the participant that was granted ownership on the room
(e.g. room@conference.jabber.org/nick).public void ownershipRevoked(java.lang.String participant)
ParticipantStatusListenerownershipRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked ownership on the room
(e.g. room@conference.jabber.org/nick).public void adminGranted(java.lang.String participant)
ParticipantStatusListeneradminGranted in interface ParticipantStatusListenerparticipant - the participant that was granted administrator privileges
(e.g. room@conference.jabber.org/nick).public void adminRevoked(java.lang.String participant)
ParticipantStatusListeneradminRevoked in interface ParticipantStatusListenerparticipant - the participant that was revoked administrator privileges
(e.g. room@conference.jabber.org/nick).public void nicknameChanged(java.lang.String nickname)
ParticipantStatusListenernicknameChanged in interface ParticipantStatusListenernickname - the old nickname that the participant decided to change.Copyright © 2003 Jive Software.