org.abstracthorizon.mercury.smtp.command
Class ResetCommand

java.lang.Object
  extended by org.abstracthorizon.mercury.smtp.command.SMTPCommand
      extended by org.abstracthorizon.mercury.smtp.command.ResetCommand
All Implemented Interfaces:
org.abstracthorizon.danube.connection.ConnectionHandler
Direct Known Subclasses:
EhloCommand, FilterResetCommand, QuietFilterResetCommand

public class ResetCommand
extends SMTPCommand

RSET (reset) command

Author:
Daniel Sendula

Constructor Summary
ResetCommand()
          Constructor
 
Method Summary
protected  void execute(SMTPSession connection)
          Executed the command
protected  void resetSession(SMTPSession connection)
          Resets the session.
 
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

ResetCommand

public ResetCommand()
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

resetSession

protected void resetSession(SMTPSession connection)
Resets the session. It is used from ResetCommand and from EhloCommand



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