org.mmbase.module.irc.communication.irc
Class IrcChannels
java.lang.Object
|
+--org.mmbase.module.irc.communication.irc.IrcChannels
- public class IrcChannels
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IrcChannels
public IrcChannels()
addChannel
public void addChannel(java.lang.String server,
java.lang.String channelname)
addChannel
public void addChannel(IrcChannel channel)
getChannel
public IrcChannel getChannel(java.lang.String channelname)
containsChannel
public boolean containsChannel(IrcChannel channel)
containsChannel
public boolean containsChannel(java.lang.String channelname)
removeChannel
public void removeChannel(IrcChannel channel)
removeChannel
public void removeChannel(java.lang.String channelname)
setCurrentChannel
public void setCurrentChannel(IrcChannel channel)
getCurrentChannel
public IrcChannel getCurrentChannel()
removeAll
public void removeAll()
- remove all channels (at exit)
partAll
public void partAll()
- Call when disconnected, so we can see that these channels have to be rejoined
elements
public java.util.Enumeration elements()
- Gimme all channels
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
MMBase 2001