f00f.net.irc.martyr.commands
Class PongCommand

java.lang.Object
  |
  +--f00f.net.irc.martyr.commands.GenericCommand
        |
        +--f00f.net.irc.martyr.commands.PingCommand
              |
              +--f00f.net.irc.martyr.commands.PongCommand
All Implemented Interfaces:
Command

public class PongCommand
extends PingCommand

Defines the PONG command. At this point, PONGs can only be sent to the server, so all we need to do is provide render().


Constructor Summary
PongCommand(java.lang.String dest)
           
 
Method Summary
 java.lang.String getIrcIdentifier()
          Returns the string IRC uses to identify this command.
 java.lang.String getPongDest()
           
 Command parse(java.lang.String prefix, java.lang.String identifier, java.lang.String params)
          PONG shouldn't be sent to us.
 
Methods inherited from class f00f.net.irc.martyr.commands.PingCommand
getPingSource, getState, renderParams
 
Methods inherited from class f00f.net.irc.martyr.commands.GenericCommand
getIntParameter, getParameter, getSourceString, render, selfRegister, setSourceString, updateClientState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PongCommand

public PongCommand(java.lang.String dest)
Method Detail

parse

public Command parse(java.lang.String prefix,
                     java.lang.String identifier,
                     java.lang.String params)
PONG shouldn't be sent to us.
Overrides:
parse in class PingCommand

getIrcIdentifier

public java.lang.String getIrcIdentifier()
Description copied from class: PingCommand
Returns the string IRC uses to identify this command. Examples: NICK, PING, KILL, 332
Overrides:
getIrcIdentifier in class PingCommand

getPongDest

public java.lang.String getPongDest()


Copyright ? 2000,2001, f00f networks. All Rights Reserved.