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 a SmartCardSpi.

    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 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 a SmartCardSpi.
        Parameters:
        cardSelectionResponseApi - The card selection response.
        Returns:
        A not null reference.
        Throws:
        ParseException - If the card selection response parsing failed.
        Since:
        1.0.0