|
|||||||||
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.PARTMessage
This class represents a PART 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 | |
PARTMessage(java.lang.String prefix,
java.lang.String params)
Constructs a PART message with a prefix and its parameters. |
Method Summary | |
java.lang.String |
getChannelName()
Returns the channel that has been joined. |
java.lang.String |
whoIsParting()
Returns who is leaving the channel. |
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 PARTMessage(java.lang.String prefix, java.lang.String params)
command
will be PART
.
prefix
- The PART message prefix.params
- The PART message parameters.Method Detail |
public java.lang.String whoIsParting()
public java.lang.String getChannelName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |