org.subethamail.smtp.server.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subethasmtp Show documentation
Show all versions of subethasmtp Show documentation
SubEtha SMTP is an easy-to-use server-side SMTP library for Java.
package org.subethamail.smtp.server;
import java.io.IOException;
/**
* Describes a SMTP command
*
* @author Jon Stevens
* @author Scott Hernandez
*/
public interface Command
{
/** */
public void execute(String commandString, Session sess) throws IOException;
/** */
public HelpMessage getHelp() throws CommandException;
/** */
public String getName();
}