Keypop Card C++ API - 2.0.1
Component of the Keypop C++ API
keypop::card::spi::CardRequestSpi Class Referenceabstract

Request grouping multiple APDUs to be executed consecutively. More...

#include <keypop/card/spi/CardRequestSpi.hpp>

Public Member Functions

virtual ~CardRequestSpi ()=default
 virtual destructor. More...
 
virtual const std::vector< std::shared_ptr< ApduRequestSpi > > & getApduRequests () const =0
 Gets the list of calypsonet::terminal::card::spi::ApduRequestSpi. More...
 
virtual bool stopOnUnsuccessfulStatusWord () const =0
 Indicates if the processing of the requests must stop when an unexpected status word is received. More...
 

Detailed Description

Request grouping multiple APDUs to be executed consecutively.

Contains a list of ApduRequestSpi to be sent to a card and a flag indicating whether to stop processing in case of an unexpected status word in response to one of the APDUs.

See also
calypsonet::terminal::card::ApduResponseApi
Since
1.0.0

Definition at line 32 of file CardRequestSpi.hpp.

Constructor & Destructor Documentation

◆ ~CardRequestSpi()

virtual keypop::card::spi::CardRequestSpi::~CardRequestSpi ( )
virtualdefault

virtual destructor.

Member Function Documentation

◆ getApduRequests()

virtual const std::vector< std::shared_ptr< ApduRequestSpi > > & keypop::card::spi::CardRequestSpi::getApduRequests ( ) const
pure virtual

Gets the list of calypsonet::terminal::card::spi::ApduRequestSpi.

Returns
A not empty list.
Since
1.0.0

◆ stopOnUnsuccessfulStatusWord()

virtual bool keypop::card::spi::CardRequestSpi::stopOnUnsuccessfulStatusWord ( ) const
pure virtual

Indicates if the processing of the requests must stop when an unexpected status word is received.

Returns
True if the process must stop at the first unsuccessful status word received.
Since
1.0.0

The documentation for this class was generated from the following file: