
org.subethamail.smtp.MessageContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subethasmtp-smtp Show documentation
Show all versions of subethasmtp-smtp Show documentation
A multithreaded standalone SMTP mail server implementation.
The newest version!
/*
* $Id: MessageContext.java 72 2006-09-20 08:36:18Z lhoriman $
* $URL: http://subethasmtp.tigris.org/svn/subethasmtp/tags/1.2/smtp/src/org/subethamail/smtp/MessageContext.java $
*/
package org.subethamail.smtp;
import java.net.SocketAddress;
import org.subethamail.smtp.server.SMTPServer;
/**
* Interface which provides context to the message handlers.
*
* @author Jeff Schnitzer
*/
public interface MessageContext
{
/**
* @return the SMTPServer object.
*/
public SMTPServer getSMTPServer();
/**
* @return the IP address of the remote server.
*/
public SocketAddress getRemoteAddress();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy