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.EntityFullJid; 021import org.jxmpp.jid.Jid; 022import org.jxmpp.jid.parts.Resourcepart; 023 024/** 025 * Default implementation of the ParticipantStatusListener interface.<p> 026 * 027 * This class does not provide any behavior by default. It just avoids having 028 * to implement all the inteface methods if the user is only interested in implementing 029 * some of the methods. 030 * 031 * @author Gaston Dombiak 032 * @deprecated use {@link ParticipantStatusListener} instead. 033 */ 034// TODO: Remove in Smack 4.5 035@Deprecated 036public class DefaultParticipantStatusListener implements ParticipantStatusListener { 037 038 @Override 039 public void joined(EntityFullJid participant) { 040 } 041 042 @Override 043 public void left(EntityFullJid participant) { 044 } 045 046 @Override 047 public void kicked(EntityFullJid participant, Jid actor, String reason) { 048 } 049 050 @Override 051 public void voiceGranted(EntityFullJid participant) { 052 } 053 054 @Override 055 public void voiceRevoked(EntityFullJid participant) { 056 } 057 058 @Override 059 public void banned(EntityFullJid participant, Jid actor, String reason) { 060 } 061 062 @Override 063 public void membershipGranted(EntityFullJid participant) { 064 } 065 066 @Override 067 public void membershipRevoked(EntityFullJid participant) { 068 } 069 070 @Override 071 public void moderatorGranted(EntityFullJid participant) { 072 } 073 074 @Override 075 public void moderatorRevoked(EntityFullJid participant) { 076 } 077 078 @Override 079 public void ownershipGranted(EntityFullJid participant) { 080 } 081 082 @Override 083 public void ownershipRevoked(EntityFullJid participant) { 084 } 085 086 @Override 087 public void adminGranted(EntityFullJid participant) { 088 } 089 090 @Override 091 public void adminRevoked(EntityFullJid participant) { 092 } 093 094 @Override 095 public void nicknameChanged(EntityFullJid participant, Resourcepart newNickname) { 096 } 097 098}