f00f.net.irc.martyr.modes.channel
Class GenericChannelMode

java.lang.Object
  |
  +--f00f.net.irc.martyr.modes.GenericMode
        |
        +--f00f.net.irc.martyr.modes.channel.GenericChannelMode
All Implemented Interfaces:
Mode
Direct Known Subclasses:
AnonChannelMode, GenericChannelMask, InviteOnlyMode, LimitMode, ModeratedMode, NoExtMsgMode, OperMode, PrivateMode, SecretMode, TopicLockMode, VoiceMode

public abstract class GenericChannelMode
extends GenericMode

A generic channel mode will be recorded in the channel, and there will be one per channel. Modes that can have multiple copies in the channel (masks) should subclass GenericChannelMask.


Inner classes inherited from class f00f.net.irc.martyr.Mode
Mode.Sign
 
Constructor Summary
GenericChannelMode()
           
 
Method Summary
 boolean onePerChannel()
          Determines if there can be multiple versions of this mode in the channel.
 boolean recordInChannel()
          This mode should be recorded in the list of channel modes.
 
Methods inherited from class f00f.net.irc.martyr.modes.GenericMode
equals, getParam, getSign, hashCode, setParam, setSign, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface f00f.net.irc.martyr.Mode
getChar, newInstance, requiresParam
 

Constructor Detail

GenericChannelMode

public GenericChannelMode()
Method Detail

recordInChannel

public boolean recordInChannel()
Description copied from interface: Mode
This mode should be recorded in the list of channel modes. This would NOT include such things as operator status, as it is recored with the Member object.

onePerChannel

public boolean onePerChannel()
Description copied from interface: Mode
Determines if there can be multiple versions of this mode in the channel.


Copyright © 2000,2001,2002,2003 f00f networks.