org.xnap.chat
Class ChatProviderSupport

java.lang.Object
  extended by org.xnap.chat.ChatProviderSupport

public class ChatProviderSupport
extends java.lang.Object

This is a utility class that can be used by ChatProvider classes for handling channel event listeners.


Constructor Summary
ChatProviderSupport(java.lang.Object source)
          Constructs a ChatProviderSupport object.
 
Method Summary
 void addChatProviderListener(ChatProviderListener l)
           
 void fireChannelsUpdated()
           
 void fireMessageReceived(java.lang.String message)
           
 void removeChatProviderListener(ChatProviderListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatProviderSupport

public ChatProviderSupport(java.lang.Object source)
Constructs a ChatProviderSupport object.

Parameters:
source - the object to be given as the source for any events
Method Detail

addChatProviderListener

public void addChatProviderListener(ChatProviderListener l)

removeChatProviderListener

public void removeChatProviderListener(ChatProviderListener l)

fireMessageReceived

public void fireMessageReceived(java.lang.String message)

fireChannelsUpdated

public void fireChannelsUpdated()


Copyright © 2001-2005 XNap Team. All Rights Reserved.