org.xnap.chat
Interface ChatProvider

All Known Implementing Classes:
AbstractChatProvider, OpenNapServer, PircBotServer

public interface ChatProvider

Defines the requirements for classes that provide access to chat channels.


Method Summary
 void addChatProviderListener(ChatProviderListener listener)
          Adds listener to the provider.
 javax.swing.Action[] getActions()
          Returns an array of actions that can be performed on the provider.
 ChannelInfo[] getChannels()
          Returns the the channels on this server.
 java.lang.String getMessages()
          Returns a string with the message of the day.
 java.lang.String getName()
          Returns the name of the server shown to the user.
 void join(java.lang.String channel)
          Joins a channel.
 void removeChatProviderListener(ChatProviderListener listener)
          Removes listener from the provider.
 

Method Detail

addChatProviderListener

void addChatProviderListener(ChatProviderListener listener)
Adds listener to the provider.


join

void join(java.lang.String channel)
Joins a channel.


getActions

javax.swing.Action[] getActions()
Returns an array of actions that can be performed on the provider.


getChannels

ChannelInfo[] getChannels()
Returns the the channels on this server.


getMessages

java.lang.String getMessages()
Returns a string with the message of the day.


getName

java.lang.String getName()
Returns the name of the server shown to the user.


removeChatProviderListener

void removeChatProviderListener(ChatProviderListener listener)
Removes listener from the provider.



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