edu.yale.emailet
Interface RunnableEmailet

All Superinterfaces:
Emailet, java.io.Serializable

public interface RunnableEmailet
extends Emailet

Author:
Hong Jiang Runnable emailets are those containing code intended to be run on a remote host. It's operation is limited by the remote security policies.

Method Summary
 void doRun(Context c)
          This method is called by the handler.
 
Methods inherited from interface edu.yale.emailet.Emailet
getHandlerName, getReplyAddresses, setReplyAddresses
 

Method Detail

doRun

public void doRun(Context c)
           throws java.lang.Exception
This method is called by the handler. The execution is restricted by security policies. A runnable emailet may take a context class so that it can do permitted finegrained privileged operations.

Parameters:
c - a context object that performs privileged operations.
java.lang.Exception