Package opencard.core.util
Class SLF4JAPDUTracer
- java.lang.Object
-
- opencard.core.util.SLF4JAPDUTracer
-
- All Implemented Interfaces:
APDUTracer
public class SLF4JAPDUTracer extends java.lang.Object implements APDUTracer
-
-
Constructor Summary
Constructors Constructor Description SLF4JAPDUTracer()
-
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
-
-
-
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
-
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
-
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
-
-