|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NHINDAgentEventListener
Callback interface for custom processing of a message in the DefaultNHINDAgent. Implementations of this interface can be used to execute custom logic
during the processing stages of a message.
| Method Summary | |
|---|---|
void |
error(java.lang.Exception e)
Called when an unexpected error occurs in the agent. |
void |
errorIncoming(IncomingMessage msg,
java.lang.Exception e)
Called in an exception occurs during the message processing stages. |
void |
errorOutgoing(OutgoingMessage msg,
java.lang.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. |
| Method Detail |
|---|
void error(java.lang.Exception e)
e - The exception thrown by the agent.
void preProcessIncoming(IncomingMessage msg)
throws NHINDException
msg - The incoming message.
NHINDException
void postProcessIncoming(IncomingMessage msg)
throws NHINDException
msg - The incoming message.
NHINDException
void errorIncoming(IncomingMessage msg,
java.lang.Exception e)
msg - The incoming message.The - exception thrown by the agent.
void preProcessOutgoing(OutgoingMessage msg)
throws NHINDException
msg - The outgoing message.
NHINDException
void postProcessOutgoing(OutgoingMessage msg)
throws NHINDException
msg - The outgoing message.
NHINDException
void errorOutgoing(OutgoingMessage msg,
java.lang.Exception e)
msg - The incoming message.The - exception thrown by the agent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||