org.subethamail.smtp.server
Interface Command

All Known Implementing Classes:
AuthCommand, BaseCommand, DataCommand, EhloCommand, HelloCommand, HelpCommand, MailCommand, NoopCommand, QuitCommand, ReceiptCommand, RequireTLSCommandWrapper, ResetCommand, StartTLSCommand, VerifyCommand

public interface Command

Describes a SMTP command

Author:
Jon Stevens, Scott Hernandez

Method Summary
 void execute(String commandString, Session sess)
           
 HelpMessage getHelp()
           
 String getName()
          Returns the name of the command in upper case.
 

Method Detail

execute

void execute(String commandString,
             Session sess)
             throws IOException,
                    DropConnectionException
Throws:
IOException
DropConnectionException

getHelp

HelpMessage getHelp()
                    throws CommandException
Throws:
CommandException

getName

String getName()
Returns the name of the command in upper case. For example "QUIT".



Copyright © 2006-2012. All Rights Reserved.