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

org.subethamail.smtp.server.BaseContext Maven / Gradle / Ivy

/*
 * $Id: MessageContext.java 72 2006-09-20 08:36:18Z lhoriman $
 * $URL: http://subethasmtp.tigris.org/svn/subethasmtp/trunk/smtp/src/org/subethamail/smtp/MessageContext.java $
 */
package org.subethamail.smtp.server;

import java.io.InputStream;
import java.net.SocketAddress;


/**
 * Interface which provides a basic context interface.
 * 
 * @author De Oliveira Edouard <[email protected]>
 */
public interface BaseContext
{
	/**
	 * @return the SMTPServer object.
	 */
	public SMTPServer getSMTPServer();
	
	/**
	 * @return the IP address of the remote server.
	 */
	public SocketAddress getRemoteAddress();
	
	/**
	 * @return the original data stream.
	 */
	public InputStream getInputStream();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy