msgnum=2;
dialogid=result.getProperty("MsgHead.dialogid");
HBCIUtils.log("dialog-id set to "+dialogid,HBCIUtils.LOG_DEBUG);
HBCIInstMessage msg=null;
for (int i=0;true;i++) {
try {
String header=HBCIUtilsInternal.withCounter("KIMsg",i);
msg=new HBCIInstMessage(result,header);
} catch (Exception e) {
break;
}
HBCIUtilsInternal.getCallback().callback(mainPassport,
HBCICallback.HAVE_INST_MSG,
msg.toString(),
HBCICallback.TYPE_NONE,
new StringBuffer());
}
}