All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.subethamail.smtp.MessageContext Maven / Gradle / Ivy

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