|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.chat.AbstractChatProvider
public abstract class AbstractChatProvider
Constructor Summary | |
---|---|
AbstractChatProvider()
|
|
AbstractChatProvider(java.lang.String name)
|
Method Summary | |
---|---|
void |
addChatProviderListener(ChatProviderListener l)
Adds listener to the provider. |
void |
channelsUpdated()
|
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 |
messageReceived(java.lang.String message)
|
void |
removeChatProviderListener(ChatProviderListener l)
Removes listener from the provider. |
void |
setMessageBufferSize(int maxSize)
Sets the maximum number of characters for the message buffer. |
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
Returns the value of getName() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xnap.chat.ChatProvider |
---|
getActions, getChannels, join |
Constructor Detail |
---|
public AbstractChatProvider(java.lang.String name)
public AbstractChatProvider()
Method Detail |
---|
public void addChatProviderListener(ChatProviderListener l)
ChatProvider
listener
to the provider.
addChatProviderListener
in interface ChatProvider
public void removeChatProviderListener(ChatProviderListener l)
ChatProvider
listener
from the provider.
removeChatProviderListener
in interface ChatProvider
public java.lang.String getMessages()
ChatProvider
getMessages
in interface ChatProvider
public java.lang.String getName()
ChatProvider
getName
in interface ChatProvider
public void setMessageBufferSize(int maxSize)
public void setName(java.lang.String name)
public void channelsUpdated()
public void messageReceived(java.lang.String message)
public java.lang.String toString()
getName()
.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |