f00f.net.irc.martyr.commands
Class UserCommand
java.lang.Object
|
+--f00f.net.irc.martyr.commands.GenericCommand
|
+--f00f.net.irc.martyr.commands.UserCommand
- All Implemented Interfaces:
- Command
- public class UserCommand
- extends GenericCommand
Defines USER command.
|
Method Summary |
java.lang.String |
getIrcIdentifier()
Returns the string IRC uses to identify this command. |
Command |
parse(java.lang.String prefix,
java.lang.String identifier,
java.lang.String params)
USER should never be sent by the server to a client. |
java.lang.String |
renderParams()
Renders the parameters of this command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserCommand
public UserCommand(java.lang.String user,
java.lang.String name,
IRCConnection connection)
parse
public Command parse(java.lang.String prefix,
java.lang.String identifier,
java.lang.String params)
- USER should never be sent by the server to a client.
- Overrides:
parse in class GenericCommand
getIrcIdentifier
public java.lang.String getIrcIdentifier()
- Description copied from class:
GenericCommand
- Returns the string IRC uses to identify this command. Examples:
NICK, PING, KILL, 332
- Overrides:
getIrcIdentifier in class GenericCommand
renderParams
public java.lang.String renderParams()
- Description copied from class:
GenericCommand
- Renders the parameters of this command.
- Overrides:
renderParams in class GenericCommand
Copyright ? 2000,2001, f00f networks. All Rights Reserved.