edu.yale.emailet
Interface Emailet

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
QueryEmailet, RunnableEmailet, SeedEmailet
All Known Implementing Classes:
QueryEmailetImp

public interface Emailet
extends java.io.Serializable

Author:
Hong Jiang The highest level interface of all emailets.

Method Summary
 java.lang.String getHandlerName()
          returns the name of the required handler
 java.lang.String[] getReplyAddresses()
          Get the addresses to which an reply emailet should be sent.
 void setReplyAddresses(java.lang.String[] newReplyAddresses)
          Set the addresses to which an reply emailet should be sent.
 

Method Detail

getHandlerName

public java.lang.String getHandlerName()
returns the name of the required handler


setReplyAddresses

public void setReplyAddresses(java.lang.String[] newReplyAddresses)
Set the addresses to which an reply emailet should be sent.

Parameters:
newReplyAddresses - An array of addresses.

getReplyAddresses

public java.lang.String[] getReplyAddresses()
Get the addresses to which an reply emailet should be sent.

Returns:
An array of addresses.