org.xnap.chat
Class ChatManager
java.lang.Object
org.xnap.chat.ChatManager
public class ChatManager
- extends java.lang.Object
Manages chat providers and joined channels. ChatManager uses the singleton
pattern. Use getInstance()
to get a reference to the chat
manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channels
protected java.util.List channels
providers
protected java.util.List providers
channelSupport
protected ListSupport channelSupport
providerSupport
protected ListSupport providerSupport
getInstance
public static ChatManager getInstance()
- Returns a reference to the
ChatManager
singleton.
add
public void add(Channel channel)
add
public void add(ChatProvider provider)
addChannelListListener
public void addChannelListListener(ListListener listener)
addProviderListListener
public void addProviderListListener(ListListener listener)
contains
public boolean contains(Channel channel)
getChannels
public Channel[] getChannels()
getProviders
public ChatProvider[] getProviders()
remove
public void remove(Channel channel)
remove
public void remove(ChatProvider provider)
removeChannelListListener
public void removeChannelListListener(ListListener listener)
removeProviderListListener
public void removeProviderListListener(ListListener listener)
Copyright © 2001-2005 XNap Team. All Rights Reserved.