|
|||||||||
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.TOPICMessage
This class represents a TOPIC 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 | |
TOPICMessage(java.lang.String prefix,
java.lang.String params)
Constructs a TOPIC message with a prefix and its parameters. |
Method Summary | |
java.lang.String |
getChannelName()
Returns the channel name of the topic message. |
java.lang.String |
getTopic()
Returns the topic of the channel. |
java.lang.String |
whoChangesTopic()
Returns the nick of the one who has changed the topic |
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 TOPICMessage(java.lang.String prefix, java.lang.String params)
command
will be TOPIC
.
prefix
- The TOPIC message prefix.params
- The TOPIC message parameters.Method Detail |
public java.lang.String whoChangesTopic()
public java.lang.String getTopic()
public java.lang.String getChannelName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |