Interface CardResourceProfileExtension
-
public interface CardResourceProfileExtension
Provides means to check if a reader contains a card that matches a given profile.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.calypsonet.terminal.reader.selection.spi.SmartCard
matches(org.calypsonet.terminal.reader.CardReader reader, org.calypsonet.terminal.reader.selection.CardSelectionManager cardSelectionManager)
Checks if a card is inserted in the provided reader, selects it, evaluates its profile and potentially executes any necessary commands.
-
-
-
Method Detail
-
matches
org.calypsonet.terminal.reader.selection.spi.SmartCard matches(org.calypsonet.terminal.reader.CardReader reader, org.calypsonet.terminal.reader.selection.CardSelectionManager cardSelectionManager)
Checks if a card is inserted in the provided reader, selects it, evaluates its profile and potentially executes any necessary commands.- Parameters:
reader
- The reader in which the card is supposed to be inserted.cardSelectionManager
- A instance ofCardSelectionManager
.- Returns:
- A
SmartCard
or null if no card is inserted or if its profile does not match the associated data. - Since:
- 2.0.0
-
-