com.zerjio.JIRC
Class RPL_NAMEREPLYMessage

java.lang.Object
  extended bycom.zerjio.JIRC.IRCMessage
      extended bycom.zerjio.JIRC.ReplyMessage
          extended bycom.zerjio.JIRC.RPL_NAMEREPLYMessage

public class RPL_NAMEREPLYMessage
extends ReplyMessage

This class represents a RPL_NAMEREPLY 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
RPL_NAMEREPLYMessage(java.lang.String prefix, java.lang.String params)
          Constructs a RPL_NAMEREPLY message with a prefix and its parameters.
 
Method Summary
 java.lang.String getChannelName()
          Returns the channel name of the RPL_NAMEREPLY message.
 java.lang.String[] getNicks()
          Returns a list of nicks with their modifiers (@ | +).
 java.lang.String[] getNicksWithoutModifiers()
          Returns a list of nicks WITHOUT their modifiers (@ | +).
 
Methods inherited from class com.zerjio.JIRC.ReplyMessage
getComment, getName, getReplyingString
 
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

RPL_NAMEREPLYMessage

public RPL_NAMEREPLYMessage(java.lang.String prefix,
                            java.lang.String params)
Constructs a RPL_NAMEREPLY message with a prefix and its parameters. The command will be 353.

Parameters:
prefix - The RPL_NAMEREPLY message prefix.
params - The RPL_NAMEREPLY message parameters.
Method Detail

getChannelName

public java.lang.String getChannelName()
Returns the channel name of the RPL_NAMEREPLY message.

Returns:
The name of the channel that has this users.

getNicks

public java.lang.String[] getNicks()
Returns a list of nicks with their modifiers (@ | +).

Returns:
A list of nicks with their modifiers.

getNicksWithoutModifiers

public java.lang.String[] getNicksWithoutModifiers()
Returns a list of nicks WITHOUT their modifiers (@ | +).

Returns:
A list of nicks without their modifiers.