#include <CardRequestAdapter.h>
(package-private)
This POJO contains an ordered list of ApduRequestSpi and the associated status code check policy.
- Since
- 2.0.0
Definition at line 37 of file CardRequestAdapter.h.
◆ CardRequestAdapter()
keyple::card::calypso::CardRequestAdapter::CardRequestAdapter |
( |
const std::vector< std::shared_ptr< ApduRequestSpi > > & |
apduRequests, |
|
|
const bool |
isStatusCodesVerificationEnabled |
|
) |
| |
Builds a card request with a list of ApduRequestSpi and the flag indicating the expected response checking behavior.
When the status code verification is enabled, the transmission of the APDUs must be interrupted as soon as the status code of a response is unexpected.
- Parameters
-
apduRequests | A not empty list. |
isStatusCodesVerificationEnabled | true or false. |
- Since
- 2.0.0
Definition at line 19 of file CardRequestAdapter.cpp.
◆ getApduRequests()
const std::vector< std::shared_ptr< ApduRequestSpi > > & keyple::card::calypso::CardRequestAdapter::getApduRequests |
( |
| ) |
const |
|
override |
◆ stopOnUnsuccessfulStatusWord()
bool keyple::card::calypso::CardRequestAdapter::stopOnUnsuccessfulStatusWord |
( |
| ) |
const |
|
override |
◆ operator<< [1/2]
◆ operator<< [2/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const std::shared_ptr< CardRequestAdapter > |
cra |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: