Class CCMSHandler
java.lang.Object
energy.eddie.regionconnector.at.eda.handlers.integration.inbound.CCMSHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCCMSAnswer(CMRequestStatus cmRequestStatus) voidhandleCCMSReject(CMRequestStatus cmRequestStatus) Handle a CCMS_REJECT message.
-
Constructor Details
-
Method Details
-
handleCCMSReject
Handle a CCMS_REJECT message. We mark the permission request as externally terminated no matter the reason. This means even if we still receive data from the DSO we will not process it.We do this, since the response codes
ResponseCode.CmRevSP.NO_CONSENT_PRESENTandResponseCode.CmRevSP.CONSENT_ID_EXPIREDboth indicate that the consent is not valid anymore, so we should not receive any data anymore. This case should only occur if the eligible party tries to terminate a permission request that has already beenPermissionProcessStatus.FULFILLED.The response code
ResponseCode.CmRevSP.INVALID_PROCESSDATEshould never occur since we set the process date of theCCMORevoketo the current date.The last option
ResponseCode.CmRevSP.CONSENT_AND_METERINGPOINT_DO_NOT_MATCHshould never occur, if this occurs we have a bug in our system. -
handleCCMSAnswer
-