org.subethamail.smtp.command
Class AuthCommand

java.lang.Object
  extended by org.subethamail.smtp.server.BaseCommand
      extended by org.subethamail.smtp.command.AuthCommand
All Implemented Interfaces:
Command

public class AuthCommand
extends BaseCommand

Author:
Marco Trevisan Updated to comply with MINA integration., De Oliveira Edouard <doe_wanted@yahoo.fr>

Field Summary
static java.lang.String AUTH_CANCEL_COMMAND
           
static java.lang.String VERB
           
 
Constructor Summary
AuthCommand()
          Creates a new instance of AuthCommand
 
Method Summary
 void execute(java.lang.String commandString, ConnectionContext context)
          This is the main method that you need to override in order to implement a command.
 MessageHandler getMessageHandler(ConnectionContext context)
           
 
Methods inherited from class org.subethamail.smtp.server.BaseCommand
extractEmailAddress, getArgPredicate, getArgs, getHelp, getHelp, getName, getTokenizedString, isValidEmailAddress, setHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERB

public static final java.lang.String VERB
See Also:
Constant Field Values

AUTH_CANCEL_COMMAND

public static final java.lang.String AUTH_CANCEL_COMMAND
See Also:
Constant Field Values
Constructor Detail

AuthCommand

public AuthCommand()
Creates a new instance of AuthCommand

Method Detail

execute

public void execute(java.lang.String commandString,
                    ConnectionContext context)
             throws java.io.IOException
Description copied from class: BaseCommand
This is the main method that you need to override in order to implement a command.

Specified by:
execute in interface Command
Specified by:
execute in class BaseCommand
Throws:
java.io.IOException

getMessageHandler

public MessageHandler getMessageHandler(ConnectionContext context)


Copyright © 2011 SubEthaSMTP. All Rights Reserved. Build version: UNVERSIONED