org.abstracthorizon.mercury.smtp.command
Class NotImplementedCommand

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

public class NotImplementedCommand
extends SMTPCommand

Artificial command representing unknown command

Author:
Daniel Sendula

Field Summary
protected  String error
          Error string
 
Constructor Summary
NotImplementedCommand()
          Constructor
 
Method Summary
protected  void execute(SMTPSession connection)
          Executed the command
 void setErrorString(String error)
          Sets error string
 
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
 

Field Detail

error

protected String error
Error string

Constructor Detail

NotImplementedCommand

public NotImplementedCommand()
Constructor

Method Detail

setErrorString

public void setErrorString(String error)
Sets error string

Parameters:
error - error string

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.