use of iso.std.iso_iec._24727.tech.schema.DisconnectResponse in project open-ecard by ecsec.
the class CardRecognitionImpl method disconnect.
private void disconnect(byte[] slotHandle) throws RecognitionException {
// end exclusive card access
EndTransaction end = new EndTransaction();
end.setSlotHandle(slotHandle);
EndTransactionResponse endTransactionResponse = (EndTransactionResponse) env.getDispatcher().safeDeliver(end);
checkResult(endTransactionResponse.getResult());
Disconnect d = new Disconnect();
d.setSlotHandle(slotHandle);
DisconnectResponse r = (DisconnectResponse) env.getDispatcher().safeDeliver(d);
checkResult(r.getResult());
}
Aggregations