|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageField
The interface that message fields must support.
Method Summary | |
---|---|
java.lang.Object |
GetValue()
Get the value of the field |
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 |
Verify()
This function is called once, just after the first time Initialize is called. |
Methods inherited from interface com.extrememessaging.ResponseMaster.IConfigurableItem |
---|
Initialize, Shutdown |
Method Detail |
---|
java.lang.Object GetValue()
void SetValue(java.lang.Object newValue)
void PassMessages(CMessage parentMessage, javax.mail.Message javaMailMsg) throws javax.mail.MessagingException
parentMessage
- 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.
This
- function throws a MessagingException if there is a problem
accessing the javaMailMsg
javax.mail.MessagingException
void Verify() throws InvalidMessageFieldName, java.lang.IllegalArgumentException
This
- function throws an InvalidMessageFieldName if it depends on a field
that isn't available. It throws an IllegalArgumentException if the parameter passed
earlier is invalid.
InvalidMessageFieldName
java.lang.IllegalArgumentException
InvalidMessageFieldName
,
IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |