Class CardResource


  • public final class CardResource
    extends java.lang.Object
    This POJO contains a SmartCard and its associated CardReader.
    Since:
    2.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CardResource​(org.calypsonet.terminal.reader.CardReader reader, org.calypsonet.terminal.reader.selection.spi.SmartCard smartCard)
      Creates an instance of CardResource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.calypsonet.terminal.reader.CardReader getReader()
      Gets the reader
      org.calypsonet.terminal.reader.selection.spi.SmartCard getSmartCard()
      Gets the SmartCard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CardResource

        public CardResource​(org.calypsonet.terminal.reader.CardReader reader,
                            org.calypsonet.terminal.reader.selection.spi.SmartCard smartCard)
        Creates an instance of CardResource.
        Parameters:
        reader - The CardReader.
        smartCard - The SmartCard.
        Since:
        2.0.0
    • Method Detail

      • getReader

        public org.calypsonet.terminal.reader.CardReader getReader()
        Gets the reader
        Returns:
        A not null reference.
        Since:
        2.0.0
      • getSmartCard

        public org.calypsonet.terminal.reader.selection.spi.SmartCard getSmartCard()
        Gets the SmartCard.
        Returns:
        A not null reference.
        Since:
        2.0.0