f00f.net.irc.martyr.replies
Class AbstractWhoisReply
java.lang.Object
f00f.net.irc.martyr.commands.AbstractInCommand
f00f.net.irc.martyr.replies.GenericReply
f00f.net.irc.martyr.replies.AbstractWhoisReply
- All Implemented Interfaces:
- Command, InCommand
- Direct Known Subclasses:
- WhoisChannelsReply, WhoisEndReply, WhoisIdleReply, WhoisServerReply, WhoisUserReply
public abstract class AbstractWhoisReply
- extends GenericReply
Methods inherited from class f00f.net.irc.martyr.commands.AbstractInCommand |
getAttribute, getAttributeKeys, getIntParameter, getParameter, getSourceString, getState, parse, selfRegister, setAttribute, setSourceString, updateClientState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWhoisReply
public AbstractWhoisReply()
- Factory constructor.
AbstractWhoisReply
public AbstractWhoisReply(java.lang.String params)
getIrcIdentifier
public abstract java.lang.String getIrcIdentifier()
- Description copied from interface:
Command
- Returns the string IRC uses to identify this command. Examples:
NICK, PING, KILL, 332. Not strictly required for OutCommands
as the irc identifier is expected to be part of the reder()
result.
- Returns:
- The IRC identifier string
parseParams
protected abstract void parseParams(ParameterIterator pi)
- Parse the parameters, but the target param has already been
stripped off.
- Parameters:
pi
- Parameter iterator that will parse the parameters
getTarget
public java.lang.String getTarget()
- Returns:
- the target of the whois
getParams
protected ParameterIterator getParams(java.lang.String params)
- Parameters:
params
- the params string passed to "parse".
- Returns:
- a parameter iterator, with the whois target already
stripped off.
Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.