Package org.calypsonet.terminal.card.spi
Interface CardSelectionSpi
-
public interface CardSelectionSpi
Extension of the card selection manager for a specific card extension.Provides the
CardSelectionRequestSpi
and interprets the result to provide aSmartCardSpi
.Backside of the org.calypsonet.terminal.reader.selection.spi.CardSelection interface present in the Terminal Reader API.
An adapter of this interface must also implement CardSelection.
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CardSelectionRequestSpi
getCardSelectionRequest()
Gets the card selection request containing the selection data prepared for this selection.SmartCardSpi
parse(CardSelectionResponseApi cardSelectionResponseApi)
Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.
-
-
-
Method Detail
-
getCardSelectionRequest
CardSelectionRequestSpi getCardSelectionRequest()
Gets the card selection request containing the selection data prepared for this selection.- Returns:
- A not null reference.
- Since:
- 1.0.0
-
parse
SmartCardSpi parse(CardSelectionResponseApi cardSelectionResponseApi) throws ParseException
Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.- Parameters:
cardSelectionResponseApi
- The card selection response.- Returns:
- A not null reference.
- Throws:
ParseException
- If the card selection response parsing failed.- Since:
- 1.0.0
-
-