com.zerjio.JIRC
Class AutoQUITMessage
java.lang.Object
com.zerjio.JIRC.IRCMessage
com.zerjio.JIRC.AutoQUITMessage
- public class AutoQUITMessage
- extends IRCMessage
This class represents a QUIT message that the user has sended to the IRC server.
It is not received from the server. It is a false message that has been created with the
pourpose of knowing when a user has send the quit command, and allow the client to close all
channel windows, etc.
Constructor Summary |
AutoQUITMessage(java.lang.String prefix,
java.lang.String params)
Constructs an AutoQUIT message with a prefix and its parameters.
|
Method Summary |
java.lang.String |
getQuitMessage()
Returns the quit 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 |
AutoQUITMessage
public AutoQUITMessage(java.lang.String prefix,
java.lang.String params)
- Constructs an AutoQUIT message with a prefix and its parameters.
The
command
will be AutoQUIT
.
- Parameters:
prefix
- The AutoQUIT message prefix.params
- The AutoQUIT message parameters.
getQuitMessage
public java.lang.String getQuitMessage()
- Returns the quit message.
- Returns:
- The quit message.