org.xnap.plugin.opennap.net
Class OpenNapAbstractChannel
java.lang.Object
org.xnap.chat.AbstractChannel
org.xnap.plugin.opennap.net.OpenNapAbstractChannel
- All Implemented Interfaces:
- Channel, ChannelInfo, OpenNapConsole, ExceptionListener
- Direct Known Subclasses:
- OpenNapChannel, PrivateOpenNapChannel
public abstract class OpenNapAbstractChannel
- extends AbstractChannel
- implements OpenNapConsole
Manages a list of channels.
Methods inherited from class org.xnap.chat.AbstractChannel |
actionMessageReceived, add, addChannelListener, errorReceived, getCommands, getIcon, getName, getPeerCount, getPeers, getPrefix, getTopic, infoReceived, joined, messageReceived, parted, peerChanged, remove, removeChannelListener, setTopic, topicChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected OpenNapServer server
OpenNapAbstractChannel
public OpenNapAbstractChannel(OpenNapServer server,
java.lang.String name)
exceptionThrown
public void exceptionThrown(java.lang.Exception e)
- Specified by:
exceptionThrown
in interface ExceptionListener
getProvider
public ChatProvider getProvider()
- Description copied from interface:
Channel
- Returns a reference to the chat provider.
- Specified by:
getProvider
in interface Channel
- Returns:
- null, if the channel has no provider; the provider, otherwise
getServer
public OpenNapServer getServer()
- Specified by:
getServer
in interface OpenNapConsole
isLocal
public boolean isLocal(Peer peer)
- Description copied from interface:
Channel
- Returns true, if
peer is the local peer. XNap does
not beep if messages are received from local peers.
- Specified by:
isLocal
in interface Channel
println
public void println(java.lang.String s)
- Specified by:
println
in interface OpenNapConsole
Copyright © 2001-2005 XNap Team. All Rights Reserved.