Package org.jivesoftware.smackx.muc
Class DefaultUserStatusListener
- java.lang.Object
-
- org.jivesoftware.smackx.muc.DefaultUserStatusListener
-
- All Implemented Interfaces:
UserStatusListener
@Deprecated public class DefaultUserStatusListener extends java.lang.Object implements UserStatusListener
Deprecated.useUserStatusListener
instead.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
Constructors Constructor Description DefaultUserStatusListener()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
adminGranted()
Deprecated.Called when an owner grants administrator privileges to your user.void
adminRevoked()
Deprecated.Called when an owner revokes administrator privileges from your user.void
banned(Jid actor, java.lang.String reason)
Deprecated.Called when an administrator or owner banned your user from the room.void
kicked(Jid actor, java.lang.String reason)
Deprecated.Called when a moderator kicked your user from the room.void
membershipGranted()
Deprecated.Called when an administrator grants your user membership to the room.void
membershipRevoked()
Deprecated.Called when an administrator revokes your user membership to the room.void
moderatorGranted()
Deprecated.Called when an administrator grants moderator privileges to your user.void
moderatorRevoked()
Deprecated.Called when an administrator revokes moderator privileges from your user.void
ownershipGranted()
Deprecated.Called when an owner grants to your user ownership on the room.void
ownershipRevoked()
Deprecated.Called when an owner revokes from your user ownership on the room.void
roomDestroyed(MultiUserChat alternateMUC, java.lang.String reason)
Deprecated.Called when the room is destroyed.void
voiceGranted()
Deprecated.Called when a moderator grants voice to your user.void
voiceRevoked()
Deprecated.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
-
Methods inherited from interface org.jivesoftware.smackx.muc.UserStatusListener
removed
-
-
-
-
Constructor Detail
-
DefaultUserStatusListener
public DefaultUserStatusListener()
Deprecated.
-
-
Method Detail
-
kicked
public void kicked(Jid actor, java.lang.String reason)
Deprecated.Description copied from interface:UserStatusListener
Called when a moderator kicked your user from the room. This means that you are no longer participanting in the room.- Specified by:
kicked
in interfaceUserStatusListener
- Parameters:
actor
- 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.- See Also:
UserStatusListener.removed(MUCUser, Presence)
-
voiceGranted
public void voiceGranted()
Deprecated.Description copied from interface:UserStatusListener
Called when a moderator grants voice to your user. This means that you were a visitor in the moderated room before and now you can participate in the room by sending messages to all occupants.- Specified by:
voiceGranted
in interfaceUserStatusListener
-
voiceRevoked
public void voiceRevoked()
Deprecated.Description copied from interface:UserStatusListener
Called when a moderator revokes voice from your user. This means that you were a participant in the room able to speak and now you are a visitor that can't send messages to the room occupants.- Specified by:
voiceRevoked
in interfaceUserStatusListener
-
banned
public void banned(Jid actor, java.lang.String reason)
Deprecated.Description copied from interface:UserStatusListener
Called when an administrator or owner banned your user from the room. This means that you will no longer be able to join the room unless the ban has been removed.- Specified by:
banned
in interfaceUserStatusListener
- Parameters:
actor
- the administrator that banned your user (e.g. user@host.org).reason
- the reason provided by the administrator to banned you.- See Also:
UserStatusListener.removed(MUCUser, Presence)
-
membershipGranted
public void membershipGranted()
Deprecated.Description copied from interface:UserStatusListener
Called when an administrator grants your user membership to the room. This means that you will be able to join the members-only room.- Specified by:
membershipGranted
in interfaceUserStatusListener
-
membershipRevoked
public void membershipRevoked()
Deprecated.Description copied from interface:UserStatusListener
Called when an administrator revokes your user membership to the room. This means that you will not be able to join the members-only room.- Specified by:
membershipRevoked
in interfaceUserStatusListener
-
moderatorGranted
public void moderatorGranted()
Deprecated.Description copied from interface:UserStatusListener
Called when an administrator grants moderator privileges to your user. This means that you will be able to kick users, grant and revoke voice, invite other users, modify room's subject plus all the partcipants privileges.- Specified by:
moderatorGranted
in interfaceUserStatusListener
-
moderatorRevoked
public void moderatorRevoked()
Deprecated.Description copied from interface:UserStatusListener
Called when an administrator revokes moderator privileges from your user. This means that you will no longer be able to kick users, grant and revoke voice, invite other users, modify room's subject plus all the partcipants privileges.- Specified by:
moderatorRevoked
in interfaceUserStatusListener
-
ownershipGranted
public void ownershipGranted()
Deprecated.Description copied from interface:UserStatusListener
Called when an owner grants to your user ownership on the room. This means that you will be able to change defining room features as well as perform all administrative functions.- Specified by:
ownershipGranted
in interfaceUserStatusListener
-
ownershipRevoked
public void ownershipRevoked()
Deprecated.Description copied from interface:UserStatusListener
Called when an owner revokes from your user ownership on the room. This means that you will no longer be able to change defining room features as well as perform all administrative functions.- Specified by:
ownershipRevoked
in interfaceUserStatusListener
-
adminGranted
public void adminGranted()
Deprecated.Description copied from interface:UserStatusListener
Called when an owner grants administrator privileges to your user. This means that you will be able to perform administrative functions such as banning users and edit moderator list.- Specified by:
adminGranted
in interfaceUserStatusListener
-
adminRevoked
public void adminRevoked()
Deprecated.Description copied from interface:UserStatusListener
Called when an owner revokes administrator privileges from your user. This means that you will no longer be able to perform administrative functions such as banning users and edit moderator list.- Specified by:
adminRevoked
in interfaceUserStatusListener
-
roomDestroyed
public void roomDestroyed(MultiUserChat alternateMUC, java.lang.String reason)
Deprecated.Description copied from interface:UserStatusListener
Called when the room is destroyed.- Specified by:
roomDestroyed
in interfaceUserStatusListener
- Parameters:
alternateMUC
- an alternate MultiUserChat, may be null.reason
- the reason why the room was closed, may be null.- See Also:
UserStatusListener.removed(MUCUser, Presence)
-
-