package net.java.sip.communicator.service.protocol.event;
import java.util.*;
/**
* The ChatRoomPropertyChangeListener receives events notifying interested
* parties that a property of the corresponding chat room (e.g. such as its
* subject or type) has been modified or failed to be modified.
* <br>
* The modification of a property could fail, because the implementation
* doesn't support such a property.
*
* @author Emil Ivov
* @author Yana Stamcheva
*/
public interface ChatRoomPropertyChangeListener
extends EventListener
{
/**
* Called to indicate that a chat room property has been modified.
*
* @param event the ChatRoomPropertyChangeEvent containing the name of the
* property that has just changed, as well as its old and new values.
*/
public void chatRoomPropertyChanged(ChatRoomPropertyChangeEvent event);
/**
* Called to indicate that a change of a chat room property has failed.
* The modification of a property could fail, because the implementation
* doesn't support such a property.
*
* @param event the ChatRoomPropertyChangeFailedEvent containing the name of
* the property that has failed, as well as its old and new values.
*/
public void chatRoomPropertyChangeFailed(
ChatRoomPropertyChangeFailedEvent event);
}