|
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.ReceiverFilterAdapter
talx.model.filters.RemoteReceiver
Gets messages from an IMAP or POP3 store and passes them into the incoming filter stack.
| Field Summary | |
static java.lang.String |
DELAY
The key string for the mail check delay parameter. |
static java.lang.String |
HOST
The key string for the host name parameter. |
static java.lang.String |
PASSWORD
The key string for the user's password parameter. |
static java.lang.String |
SERVICE
The key string for the service type parameter. |
static java.lang.String |
USERNAME
The key string for the username parameter. |
| Constructor Summary | |
RemoteReceiver(Settings settings,
java.lang.String param)
Constructs new IMAP/POP3 receiver. |
|
| Method Summary | |
protected boolean |
filterMessage(javax.mail.internet.MimeMessage msg)
This method is called by NewMailArrived and OldMailArrived to decide whether to pass the message along. |
void |
initialize()
Called to initialize the feature. |
void |
release()
Releases all system resources held by this object. |
java.lang.String |
toString()
Returns the classname of this filter. |
| Methods inherited from class talx.model.filters.ReceiverFilterAdapter |
addFilterListener, filterActivated, fireFilterActivated, fireNewMailEvent, newMailArrived |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String SERVICE
public static final java.lang.String HOST
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String DELAY
| Constructor Detail |
public RemoteReceiver(Settings settings,
java.lang.String param)
| name | value |
|---|---|
| service | Either "imap" or "pop3" |
| host | The computer hosting the service. |
| user | The username for the account. |
| password | The password for the account |
| delay | The number of minutes to wait between mail checks |
| Method Detail |
public void initialize()
DelayedFeature
initialize in interface DelayedFeaturepublic void release()
TALFeature
release in interface TALFeaturerelease in class ReceiverFilterAdapterprotected boolean filterMessage(javax.mail.internet.MimeMessage msg)
ReceiverFilterAdapter
filterMessage in class ReceiverFilterAdaptermsg - The message to be filtered by this method.
public java.lang.String toString()
ReceiverFilterAdapter
toString in class ReceiverFilterAdapter
|
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.