public class MessageProcessResult extends Object
| Constructor and Description |
|---|
MessageProcessResult(org.nhindirect.stagent.MessageEnvelope processedMessage,
Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> notificationMessages)
Construct a result.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> |
getNotificationMessages()
Get the notification messages that should be sent back to the sender according the security and trust policy.
|
org.nhindirect.stagent.MessageEnvelope |
getProcessedMessage()
Gets the resulting message of processing a message through the SmtpAgent.
|
void |
setNotificationMessages(Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> notificationMessages) |
public MessageProcessResult(org.nhindirect.stagent.MessageEnvelope processedMessage,
Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> notificationMessages)
processedMessage - The resulting message of processing a message through the SmtpAgent.ackMessage - An acknowledgment message that should be sent to the sender.public org.nhindirect.stagent.MessageEnvelope getProcessedMessage()
public Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> getNotificationMessages()
public void setNotificationMessages(Collection<org.nhindirect.stagent.mail.notifications.NotificationMessage> notificationMessages)
Copyright © 2010–2021 NHIN Direct. All rights reserved.