com.zerjio.JIRC
Class PINGMessage

java.lang.Object
  extended bycom.zerjio.JIRC.IRCMessage
      extended bycom.zerjio.JIRC.PINGMessage

public class PINGMessage
extends IRCMessage

This class represents a PING 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
PINGMessage(java.lang.String prefix, java.lang.String params)
          Constructs a PING message with a prefix and its parameters.
 
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

PINGMessage

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

Parameters:
prefix - The PING message prefix.
params - The PING message parameters.