Package de.cardcontact.cli
Class APDUTracerLogAdapter
- java.lang.Object
-
- de.cardcontact.cli.APDUTracerLogAdapter
-
- All Implemented Interfaces:
APDUTracer
public class APDUTracerLogAdapter extends java.lang.Object implements APDUTracer
-
-
Constructor Summary
Constructors Constructor Description APDUTracerLogAdapter(CardUpdaterLog logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
traceAnswerToReset(SlotChannel sc, CardID cardID)
Trave resetvoid
traceCommandAPDU(SlotChannel sc, CommandAPDU capdu)
Trace a command APDU send over the defined slot channelvoid
traceResponseAPDU(SlotChannel sc, ResponseAPDU rapdu)
Trace a response APDU received over the defined slot channel
-
-
-
Constructor Detail
-
APDUTracerLogAdapter
public APDUTracerLogAdapter(CardUpdaterLog logger)
-
-
Method Detail
-
traceCommandAPDU
public void traceCommandAPDU(SlotChannel sc, CommandAPDU capdu)
Description copied from interface:APDUTracer
Trace a command APDU send over the defined slot channel- Specified by:
traceCommandAPDU
in interfaceAPDUTracer
- Parameters:
sc
- the slot channel or null if unknowncapdu
- the command APDU- See Also:
APDUTracer.traceCommandAPDU(opencard.core.terminal.SlotChannel, opencard.core.terminal.CommandAPDU)
-
traceResponseAPDU
public void traceResponseAPDU(SlotChannel sc, ResponseAPDU rapdu)
Description copied from interface:APDUTracer
Trace a response APDU received over the defined slot channel- Specified by:
traceResponseAPDU
in interfaceAPDUTracer
- Parameters:
sc
- the slot channel or null if unknownrapdu
- the response APDU- See Also:
APDUTracer.traceResponseAPDU(opencard.core.terminal.SlotChannel, opencard.core.terminal.ResponseAPDU)
-
traceAnswerToReset
public void traceAnswerToReset(SlotChannel sc, CardID cardID)
Description copied from interface:APDUTracer
Trave reset- Specified by:
traceAnswerToReset
in interfaceAPDUTracer
- Parameters:
sc
- the slot channel or null if unknowncardID
- the CardID of the card, containing the ATR
-
-