Package com.helger.phase4.sender
Class LoggingAS4SignalMsgValidationResultHandler
java.lang.Object
com.helger.phase4.sender.LoggingAS4SignalMsgValidationResultHandler
- All Implemented Interfaces:
IAS4SignalMessageValidationResultHandler
public class LoggingAS4SignalMsgValidationResultHandler
extends Object
implements IAS4SignalMessageValidationResultHandler
A logging implementation of
IAS4SignalMessageValidationResultHandler.- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled for each error found.voidThis method is only called if sent and/or received message did not contain DSig references, so there was nothing to compare to.voidCalled if no issues were found between the sent and the received receipts.
-
Constructor Details
-
LoggingAS4SignalMsgValidationResultHandler
public LoggingAS4SignalMsgValidationResultHandler()
-
-
Method Details
-
onSuccess
public void onSuccess()Description copied from interface:IAS4SignalMessageValidationResultHandlerCalled if no issues were found between the sent and the received receipts. Called 0 to 1 times.- Specified by:
onSuccessin interfaceIAS4SignalMessageValidationResultHandler
-
onError
Description copied from interface:IAS4SignalMessageValidationResultHandlerCalled for each error found.- Specified by:
onErrorin interfaceIAS4SignalMessageValidationResultHandler- Parameters:
sErrorMsg- The error text in human readable string what went wrong.
-
onNotApplicable
public void onNotApplicable()Description copied from interface:IAS4SignalMessageValidationResultHandlerThis method is only called if sent and/or received message did not contain DSig references, so there was nothing to compare to.- Specified by:
onNotApplicablein interfaceIAS4SignalMessageValidationResultHandler
-