|
|||||||||
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.PRIVMSGMessage
This class represents a PRIVMSG message that is send over an IRC Connection.
It is recommended to take a look to the RFC 1459 to know what this message means, its exact format and how to handle it.
Constructor Summary | |
PRIVMSGMessage(java.lang.String prefix,
java.lang.String params)
Constructs a PRIVMSG message with a prefix and its parameters. |
Method Summary | |
java.lang.String |
getMessage()
Returns the message sended. |
java.lang.String |
getRecipientName()
Returns the recipient name of the message (a channel or nick). |
java.lang.String |
whoSendsMessage()
Returns the nick of the one who has sended the 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 PRIVMSGMessage(java.lang.String prefix, java.lang.String params)
command
will be PRIVMSG
.
prefix
- The PRIVMSG message prefix.params
- The PRIVMSG message parameters.Method Detail |
public java.lang.String whoSendsMessage()
public java.lang.String getMessage()
public java.lang.String getRecipientName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |