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

java.lang.Object
  |
  +--f00f.net.irc.martyr.modes.GenericMode
        |
        +--f00f.net.irc.martyr.modes.channel.GenericChannelMode
              |
              +--f00f.net.irc.martyr.modes.channel.InviteOnlyMode
All Implemented Interfaces:
Mode

public class InviteOnlyMode
extends GenericChannelMode

Invite Only Flag - When the channel flag 'i' is set, new members are only accepted if their mask matches Invite-list (See section 4.3.2) or they have been invited by a channel operator. This flag also restricts the usage of the INVITE command (See "IRC Client Protocol" [IRC-CLIENT]) to channel operators.

(From RFC2811)

See Also:
InviteMaskMode

Inner classes inherited from class f00f.net.irc.martyr.Mode
Mode.Sign
 
Constructor Summary
InviteOnlyMode()
           
 
Method Summary
 char getChar()
          The character that represents this mode (ie o for operator)
 Mode newInstance()
          A Mode can be constructed and asked to make copies of itself.
 boolean requiresParam()
          Should return true if this mode requires a parameter.
 
Methods inherited from class f00f.net.irc.martyr.modes.channel.GenericChannelMode
onePerChannel, recordInChannel
 
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
 

Constructor Detail

InviteOnlyMode

public InviteOnlyMode()
Method Detail

requiresParam

public boolean requiresParam()
Description copied from interface: Mode
Should return true if this mode requires a parameter.

getChar

public char getChar()
Description copied from interface: Mode
The character that represents this mode (ie o for operator)

newInstance

public Mode newInstance()
Description copied from interface: Mode
A Mode can be constructed and asked to make copies of itself.


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