35 const int expectedResponseLength,
36 const std::shared_ptr<CalypsoCardAdapter> calypsoCard)
45 const std::type_info& exceptionClass,
const std::string& message)
const
48 const auto statusWord = std::make_shared<int>(
getApduResponse()->getStatusWord());
76 const std::string& message)
const
95 const std::shared_ptr<CalypsoCardAdapter> calypsoCard)
97 mCalypsoCard = calypsoCard;
virtual const std::shared_ptr< ApduResponseApi > getApduResponse() const final
virtual const CardCommand & getCommandRef() const
virtual void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse)
AbstractCardCommand(const CalypsoCardCommand &commandRef, const int expectedResponseLength, const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
const CalypsoApduCommandException buildCommandException(const std::type_info &exceptionClass, const std::string &message) const final
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
const CalypsoCardCommand & getCommandRef() const override
const CalypsoApduCommandException buildUnexpectedResponseLengthException(const std::string &message) const final
std::shared_ptr< CalypsoCardAdapter > getCalypsoCard() const