org.abstracthorizon.mercury.smtp.command
Class RcptCommand

java.lang.Object
  extended by org.abstracthorizon.mercury.smtp.command.SMTPCommand
      extended by org.abstracthorizon.mercury.smtp.command.RcptCommand
All Implemented Interfaces:
org.abstracthorizon.danube.connection.ConnectionHandler
Direct Known Subclasses:
FilterRcptCommand, QuietFilterRcptCommand

public class RcptCommand
extends SMTPCommand

RCPT command

Author:
Daniel Sendula

Constructor Summary
RcptCommand()
          Constructor
 
Method Summary
protected  void execute(SMTPSession connection)
          Executed the command
protected  void processPath(SMTPSession connection, Path path)
          Processes path
protected  void readExtraParameters(SMTPSession connection, SMTPScanner scanner)
          Obtains extra parameters.
 
Methods inherited from class org.abstracthorizon.mercury.smtp.command.SMTPCommand
handleConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RcptCommand

public RcptCommand()
Constructor

Method Detail

execute

protected void execute(SMTPSession connection)
                throws CommandException,
                       IOException,
                       ParserException
Executed the command

Specified by:
execute in class SMTPCommand
Parameters:
connection - smtp session
Throws:
CommandException
IOException
ParserException

readExtraParameters

protected void readExtraParameters(SMTPSession connection,
                                   SMTPScanner scanner)
                            throws IOException,
                                   ParserException,
                                   CommandException
Obtains extra parameters.

Parameters:
session - SMTP session
scanner - STMP scanner
Throws:
IOException - io exception
ParserException - parsing exception
CommandException - command exception

processPath

protected void processPath(SMTPSession connection,
                           Path path)
                    throws IOException
Processes path

Parameters:
connection - smtp session
path - path
Throws:
IOException


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.