Keypop Card C++ API 2.0.0
Reference Card API for C++
Public Member Functions | List of all members
keypop::card::spi::CardRequestSpi Class Referenceabstract

#include <CardRequestSpi.hpp>

Public Member Functions

virtual ~CardRequestSpi ()=default
 
virtual const std::vector< std::shared_ptr< ApduRequestSpi > > & getApduRequests () const =0
 
virtual bool stopOnUnsuccessfulStatusWord () const =0
 

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 30 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: