org.subethamail.smtp.command
Class HelloCommand

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

public class HelloCommand
extends BaseCommand

Author:
Ian McFarland <ian@neo.com>, Jon Stevens

Constructor Summary
HelloCommand()
           
 
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.
 
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

HelloCommand

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


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