|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.DefaultMessageEnvelope
org.nhindirect.stagent.OutgoingMessage
public class OutgoingMessage
Outgoing messages are specific types of NHINDMessage that need to been signed and encrypted.
The domain(s) bound to the provided agent is used to remove recipients that are not in the agent's domain(s).
| Constructor Summary | |
|---|---|
OutgoingMessage(Message message)
Create an outgoing message from a mime message. |
|
OutgoingMessage(MessageEnvelope envelope)
Create an outgoing message from a pre-eveloped message. |
|
OutgoingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Create an outgoing message from a mime message overriding the routing headers. |
|
OutgoingMessage(java.lang.String message)
Create an outgoing message from a raw string. |
|
OutgoingMessage(java.lang.String message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Create an outgoing message from a raw string. |
|
| Method Summary |
|---|
| Methods inherited from class org.nhindirect.stagent.DefaultMessageEnvelope |
|---|
ensureRecipientsCategorizedByDomain, getAgent, getDomainRecipients, getMessage, getOtherRecipients, getRecipients, getRejectedRecipients, getSender, hasDomainRecipients, hasOtherRecipients, hasRecipients, hasRejectedRecipients, serializeMessage, setAgent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutgoingMessage(Message message)
message - The message to be enveloped.
public OutgoingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
message - The message to be enveloped.recipients - The message recipients.sender - The message sender.public OutgoingMessage(java.lang.String message)
message - The raw string representation of the message to be enveloped.
public OutgoingMessage(java.lang.String message,
NHINDAddressCollection recipients,
NHINDAddress sender)
message - The raw string representation of the message to be enveloped.recipients - The message recipients.sender - The message sender.public OutgoingMessage(MessageEnvelope envelope)
message - The raw string representation of the message to be enveloped.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||