org.abstracthorizon.mercury.smtp.command
Class QuitCommand

java.lang.Object
  extended by org.abstracthorizon.mercury.smtp.command.SMTPCommand
      extended by org.abstracthorizon.mercury.smtp.command.QuitCommand
All Implemented Interfaces:
org.abstracthorizon.danube.connection.ConnectionHandler

public class QuitCommand
extends SMTPCommand

QUIT command

Author:
Daniel Sendula

Constructor Summary
QuitCommand()
          Constructor
 
Method Summary
protected  void execute(SMTPSession connection)
          Executed the command
 
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

QuitCommand

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


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