001/** 002 * 003 * Copyright 2003-2007 Jive Software. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017 018package org.jivesoftware.smackx.muc; 019 020import org.jxmpp.jid.Jid; 021 022/** 023 * Default implementation of the UserStatusListener interface.<p> 024 * 025 * This class does not provide any behavior by default. It just avoids having 026 * to implement all the inteface methods if the user is only interested in implementing 027 * some of the methods. 028 * 029 * @author Gaston Dombiak 030 * @deprecated use {@link UserStatusListener} instead. 031 */ 032// TODO: Remove in Smack 4.5. 033@Deprecated 034public class DefaultUserStatusListener implements UserStatusListener { 035 036 @Override 037 public void kicked(Jid actor, String reason) { 038 } 039 040 @Override 041 public void voiceGranted() { 042 } 043 044 @Override 045 public void voiceRevoked() { 046 } 047 048 @Override 049 public void banned(Jid actor, String reason) { 050 } 051 052 @Override 053 public void membershipGranted() { 054 } 055 056 @Override 057 public void membershipRevoked() { 058 } 059 060 @Override 061 public void moderatorGranted() { 062 } 063 064 @Override 065 public void moderatorRevoked() { 066 } 067 068 @Override 069 public void ownershipGranted() { 070 } 071 072 @Override 073 public void ownershipRevoked() { 074 } 075 076 @Override 077 public void adminGranted() { 078 } 079 080 @Override 081 public void adminRevoked() { 082 } 083 084 @Override 085 public void roomDestroyed(MultiUserChat alternateMUC, String reason) { 086 } 087 088}