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


Constructor Summary
IrcChannels()
           
 
Method Summary
 void addChannel(IrcChannel channel)
           
 void addChannel(java.lang.String server, java.lang.String channelname)
           
 boolean containsChannel(IrcChannel channel)
           
 boolean containsChannel(java.lang.String channelname)
           
 java.util.Enumeration elements()
          Gimme all channels
 IrcChannel getChannel(java.lang.String channelname)
           
 IrcChannel getCurrentChannel()
           
 void partAll()
          Call when disconnected, so we can see that these channels have to be rejoined
 void removeAll()
          remove all channels (at exit)
 void removeChannel(IrcChannel channel)
           
 void removeChannel(java.lang.String channelname)
           
 void setCurrentChannel(IrcChannel channel)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IrcChannels

public IrcChannels()
Method Detail

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 2002