|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extrememessaging.ResponseMaster.OriginalToAddress
public class OriginalToAddress
The class that extracts the original to address from the message If you are using VERP, you may need to replace this class.
IMessageField| Constructor Summary | |
|---|---|
OriginalToAddress()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
GetValue()
Get the value of the field |
void |
Initialize(java.lang.String Parameter)
Initialize using the parameter from the config file. |
void |
PassMessages(CMessage parentMessage,
javax.mail.Message javaMailMsg)
Called once for each message. |
void |
SetValue(java.lang.Object newValue)
Called if the value for this field is set externally. |
void |
Shutdown()
Cleanup any resources you allocated during construction or operation. |
void |
Verify()
This function is called once, just after the first time Initialize is called. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OriginalToAddress()
| Method Detail |
|---|
public void SetValue(java.lang.Object newValue)
IMessageField
SetValue in interface IMessageFieldpublic java.lang.Object GetValue()
IMessageField
GetValue in interface IMessageField
public void PassMessages(CMessage parentMessage,
javax.mail.Message javaMailMsg)
IMessageField
PassMessages in interface IMessageFieldparentMessage - Do NOT use the parentMessage in this call.
You can store a reference to it to use later in GetValue, but do not access the
values of any other fields during this function.javaMailMsg - The raw Java Mail message that the parentMessage is based upon
You can freely read from this object, but do not modify it. If it throws a
messaging exception that you cannot handle, you should re-throw it to let
ResponseMaster re-cycle the connection to the mail server.public void Initialize(java.lang.String Parameter)
IConfigurableItem
Initialize in interface IConfigurableItempublic void Shutdown()
IConfigurableItem
Shutdown in interface IConfigurableItem
public void Verify()
throws InvalidMessageFieldName
IMessageField
Verify in interface IMessageFieldInvalidMessageFieldNameInvalidMessageFieldName,
IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||