public interface NHINDAgent
The agent can support multiple local domains within one instance.
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getDomains()
Gets the list of domains that the agent is serving.
|
IncomingMessage |
processIncoming(IncomingMessage message)
Processes a pre-enveloped message.
|
IncomingMessage |
processIncoming(MessageEnvelope envelope)
Processes a pre-enveloped message.
|
IncomingMessage |
processIncoming(javax.mail.internet.MimeMessage msg)
Processes an incoming mime message.
|
IncomingMessage |
processIncoming(String messageText)
Processes an incoming message represented by a raw string.
|
IncomingMessage |
processIncoming(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
Processes an incoming message represented by a raw string.
|
OutgoingMessage |
processOutgoing(MessageEnvelope envelope)
Processes an outgoing pre-enveloped message.
|
OutgoingMessage |
processOutgoing(OutgoingMessage message)
Processes an outgoing pre-enveloped message.
|
OutgoingMessage |
processOutgoing(String messageText)
Processes an outgoing message represented by a raw string.
|
OutgoingMessage |
processOutgoing(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
Processes an outgoing message represented by a raw string.
|
Collection<String> getDomains()
IncomingMessage processIncoming(String messageText)
messageText - The raw contents of the incoming message that will be processed.IncomingMessage processIncoming(String messageText, NHINDAddressCollection recipients, NHINDAddress sender)
messageText - The raw contents of the incoming message that will be processed.recipients - The recipients of the message. This overrides the routing headers in the message.sender - The sender of the message. This overrides the to FROM routing header in the message.IncomingMessage processIncoming(MessageEnvelope envelope)
envelope - A message envelope containing the incoming message.IncomingMessage processIncoming(javax.mail.internet.MimeMessage msg)
msg - The incoming mime message.IncomingMessage processIncoming(IncomingMessage message)
envelope - A message envelope containing the incoming message.OutgoingMessage processOutgoing(String messageText)
messageText - The raw contents of the incoming message that will be processed.OutgoingMessage processOutgoing(String messageText, NHINDAddressCollection recipients, NHINDAddress sender)
messageText - The raw contents of the incoming message that will be processed.recipients - The recipients of the message. This overrides the routing headers in the message.sender - The sender of the message. This overrides the to FROM routing header in the message.OutgoingMessage processOutgoing(MessageEnvelope envelope)
envelope - A message envelope containing the outgoing message.OutgoingMessage processOutgoing(OutgoingMessage message)
message - A message envelope containing the incoming message.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.