
org.subethamail.smtp.internal.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
A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.
package org.subethamail.smtp.internal.server;
import java.io.IOException;
import org.subethamail.smtp.DropConnectionException;
import org.subethamail.smtp.server.Session;
/**
* Describes a SMTP command
*
* @author Jon Stevens
* @author Scott Hernandez
*/
public interface Command
{
void execute(String commandString, Session sess) throws IOException,
DropConnectionException;
HelpMessage getHelp() throws CommandException;
/**
* Returns the name of the command in upper case. For example "QUIT".
*/
String getName();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy