|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object f00f.net.irc.martyr.commands.AbstractInCommand f00f.net.irc.martyr.replies.GenericReply f00f.net.irc.martyr.replies.ModeReply
public class ModeReply
ModeReply is really a factory that passes the ModeReply off to a ChannelModeCommand.
Field Summary |
---|
Fields inherited from class f00f.net.irc.martyr.commands.AbstractInCommand |
---|
attributes |
Constructor Summary | |
---|---|
ModeReply()
For use as a factory. |
Method Summary | |
---|---|
java.lang.String |
getIrcIdentifier()
Returns the string IRC uses to identify this command. |
InCommand |
parse(java.lang.String prefix,
java.lang.String identifier,
java.lang.String params)
This is a factory that passes the command off to a ChannelModeCommand. |
boolean |
updateClientState(ClientState state)
This should, theoretically, never be called, because this command is only ever used as a factory. |
Methods inherited from class f00f.net.irc.martyr.commands.AbstractInCommand |
---|
getAttribute, getAttributeKeys, getIntParameter, getParameter, getSourceString, getState, selfRegister, setAttribute, setSourceString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModeReply()
Method Detail |
---|
public java.lang.String getIrcIdentifier()
Command
public InCommand parse(java.lang.String prefix, java.lang.String identifier, java.lang.String params)
parse
in interface InCommand
parse
in class AbstractInCommand
prefix
- Prefix of the commandidentifier
- ID of the commandparams
- Parameters of the command
public boolean updateClientState(ClientState state)
updateClientState
in interface InCommand
updateClientState
in class AbstractInCommand
state
- Client state to be updated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |