|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.model.filters.SenderFilterAdapter
Adapter class for objects in the outgoing filter stack. Individual filters need only implement the filterMessage method to be fully functional.
| Field Summary | |
protected SenderFilterListener[] |
listeners
Holds all the objects listening to events from this class. |
| Constructor Summary | |
SenderFilterAdapter()
|
|
| Method Summary | |
void |
addFilterListener(SenderFilterListener l)
|
void |
filterActivated(TALMailEvent ev)
This method is called when the previous filter dropped a message. |
protected abstract boolean |
filterMessage(javax.mail.internet.MimeMessage msg)
|
void |
fireFilterActivated(TALMailEvent ev)
This method is called to drop a message. |
void |
fireSendingMail(TALMailEvent ev)
This method is called to pass the message to the next filter. |
void |
release()
Destroys the listeners list. |
void |
sendingMail(TALMailEvent ev)
This method is called when mail is to be sent out from the system. |
java.lang.String |
toString()
Returns the classname of this filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected SenderFilterListener[] listeners
| Constructor Detail |
public SenderFilterAdapter()
| Method Detail |
public void sendingMail(TALMailEvent ev)
sendingMail in interface SenderFilterListenerpublic void filterActivated(TALMailEvent ev)
filterActivated in interface SenderFilterListenerpublic void addFilterListener(SenderFilterListener l)
addFilterListener in interface SenderFilterpublic void fireSendingMail(TALMailEvent ev)
public void fireFilterActivated(TALMailEvent ev)
protected abstract boolean filterMessage(javax.mail.internet.MimeMessage msg)
public void release()
release in interface TALFeaturepublic java.lang.String toString()
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.