|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.zerjio.JIRC.IRCMessage
com.zerjio.JIRC.ReplyMessage
A general reply message from the IRC Server.
It is recommended to take a look to the RFC 1459 to know what kinds of messages do exist and their exact formats.
Constructor Summary | |
ReplyMessage(java.lang.String prefix,
java.lang.String command,
java.lang.String params)
Constructs a reply message with a prefix, a command (a 3 digit number) and its parameters. |
Method Summary | |
java.lang.String |
getComment()
Returns the comment (explanation of the reply message). |
java.lang.String |
getName()
Returns the name of the reply message. |
java.lang.String |
getReplyingString()
Returns the replying string (the format of the reply message). |
Methods inherited from class com.zerjio.JIRC.IRCMessage |
asString, asStringWithoutPrefix, getCommand, getHost, getMustBeDiscarded, getNick, getParams, getPrefix, getUsedCount, getUser, isUsed, markAsUsed, mustBeDiscarded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplyMessage(java.lang.String prefix, java.lang.String command, java.lang.String params)
prefix
- The reply message prefix.command
- The reply message command (it must be a 3 digit number, although
this condition is not checked).params
- The reply message parameters.Method Detail |
public java.lang.String getName()
public java.lang.String getReplyingString()
public java.lang.String getComment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |