use of org.openecard.sal.protocol.eac.EACData in project open-ecard by ecsec.
the class CVCStepAction method perform.
@Override
public StepActionResult perform(Map<String, ExecutionResults> oldResults, StepResult result) {
if (result.isBack()) {
// no going back to the initialization step
return new StepActionResult(StepActionResultStatus.REPEAT);
}
DynamicContext ctx = DynamicContext.getInstance(TR03112Keys.INSTANCE_KEY);
EACData eacData = (EACData) ctx.get(EACProtocol.EAC_DATA);
CHATStep chatStep = new CHATStep(eacData);
chatStep.setBackgroundTask(bTask);
StepAction chatAction = new CHATStepAction(eacData, chatStep);
chatStep.setAction(chatAction);
return new StepActionResult(StepActionResultStatus.NEXT, chatStep);
}
Aggregations