org.subethamail.smtp.command
Class StartTLSCommand

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

public class StartTLSCommand
extends BaseCommand

Author:
De Oliveira Edouard <doe_wanted@yahoo.fr>

Constructor Summary
StartTLSCommand()
           
 
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.
static void setSSLFilter(org.apache.mina.filter.SSLFilter filter)
          Ability to override the SSLFilter
 
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
 

Constructor Detail

StartTLSCommand

public StartTLSCommand()
Method Detail

setSSLFilter

public static void setSSLFilter(org.apache.mina.filter.SSLFilter filter)
Ability to override the SSLFilter

Parameters:
filter -

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


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