swpchat.server
Interface ChannelCollectionListener
- All Superinterfaces:
- ListenerBase
- All Known Implementing Classes:
- ControlProtocolHandler
- public interface ChannelCollectionListener
- extends ListenerBase
This interface has to be implemented by the classes, which want to
receive messages about new channels, renamed channel and removed
channels.
- Author:
- Christian Stuellenberg
Method Summary |
void |
addChannel(java.lang.String name)
Method is called, when a new called was created. |
void |
removeChannel(java.lang.String name)
Method is called, when a channel has been removed |
void |
renameChannel(java.lang.String oldName,
java.lang.String newName)
Method is called, when a channel has changed its name. |
addChannel
public void addChannel(java.lang.String name)
- Method is called, when a new called was created.
- Parameters:
name
- is the name of the new channel
renameChannel
public void renameChannel(java.lang.String oldName,
java.lang.String newName)
- Method is called, when a channel has changed its name.
- Parameters:
oldName
- is the old name of the new channelnewName
- is the new name of the new channel
removeChannel
public void removeChannel(java.lang.String name)
- Method is called, when a channel has been removed
- Parameters:
name
- is the name of the channel that has been removed.