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 */
031public class DefaultUserStatusListener implements UserStatusListener {
032
033    @Override
034    public void kicked(Jid actor, String reason) {
035    }
036
037    @Override
038    public void voiceGranted() {
039    }
040
041    @Override
042    public void voiceRevoked() {
043    }
044
045    @Override
046    public void banned(Jid actor, String reason) {
047    }
048
049    @Override
050    public void membershipGranted() {
051    }
052
053    @Override
054    public void membershipRevoked() {
055    }
056
057    @Override
058    public void moderatorGranted() {
059    }
060
061    @Override
062    public void moderatorRevoked() {
063    }
064
065    @Override
066    public void ownershipGranted() {
067    }
068
069    @Override
070    public void ownershipRevoked() {
071    }
072
073    @Override
074    public void adminGranted() {
075    }
076
077    @Override
078    public void adminRevoked() {
079    }
080
081    @Override
082    public void roomDestroyed(MultiUserChat alternateMUC, String reason) {
083    }
084
085}