org.xnap.chat
Class ChannelSupport
java.lang.Object
org.xnap.chat.ChannelSupport
public class ChannelSupport
- extends java.lang.Object
This is a utility class that can be used by chat Channel
classes for handling channel event listeners.
Constructor Summary |
ChannelSupport(java.lang.Object source)
Constructs a ChannelSupport object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelSupport
public ChannelSupport(java.lang.Object source)
- Constructs a ChannelSupport object.
- Parameters:
source
- the object to be given as the source for any events
addChannelListener
public void addChannelListener(ChannelListener l)
removeChannelListener
public void removeChannelListener(ChannelListener l)
fireChannelJoined
public void fireChannelJoined()
fireChannelParted
public void fireChannelParted()
fireMessageReceived
public void fireMessageReceived(Peer sender,
java.lang.String message,
int messageType)
fireMessageReceived
public void fireMessageReceived(java.lang.String message,
int messageType)
firePeerAdded
public void firePeerAdded(Peer peer)
firePeerChanged
public void firePeerChanged(Peer peer)
firePeerRemoved
public void firePeerRemoved(Peer peer)
fireTopicChanged
public void fireTopicChanged(java.lang.String topic)
Copyright © 2001-2005 XNap Team. All Rights Reserved.