public interface NHINDAgentEventListener
DefaultNHINDAgent. Implementations of this interface can be used to execute custom logic
during the processing stages of a message.| Modifier and Type | Method and Description |
|---|---|
void |
error(Exception e)
Called when an unexpected error occurs in the agent.
|
void |
errorIncoming(IncomingMessage msg,
Exception e)
Called in an exception occurs during the message processing stages.
|
void |
errorOutgoing(OutgoingMessage msg,
Exception e)
Called in an exception occurs during the message processing stages.
|
void |
postProcessIncoming(IncomingMessage msg)
Called after the message is decrypted and the signature is validated.
|
void |
postProcessOutgoing(OutgoingMessage msg)
Called after the message has been encypted and signed.
|
void |
preProcessIncoming(IncomingMessage msg)
Called after the message has been validated but before it is decrypted.
|
void |
preProcessOutgoing(OutgoingMessage msg)
Called after the message has been validated but before it is encypted and signed.
|
void error(Exception e)
e - The exception thrown by the agent.void preProcessIncoming(IncomingMessage msg) throws NHINDException
msg - The incoming message.NHINDExceptionvoid postProcessIncoming(IncomingMessage msg) throws NHINDException
msg - The incoming message.NHINDExceptionvoid errorIncoming(IncomingMessage msg, Exception e)
msg - The incoming message.The - exception thrown by the agent.void preProcessOutgoing(OutgoingMessage msg) throws NHINDException
msg - The outgoing message.NHINDExceptionvoid postProcessOutgoing(OutgoingMessage msg) throws NHINDException
msg - The outgoing message.NHINDExceptionvoid errorOutgoing(OutgoingMessage msg, Exception e)
msg - The incoming message.The - exception thrown by the agent.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.