Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
CardTransactionManager.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the MIT License which is available at *
9 * https://opensource.org/licenses/MIT *
10 * *
11 * SPDX-License-Identifier: MIT *
12 ******************************************************************************/
13
14#pragma once
15
17
18namespace keypop {
19namespace reader {
20namespace transaction {
21namespace spi {
22
24
42template <typename T>
44public:
69 virtual T& processCommands(ChannelControl channelControl) = 0;
70};
71
72template <typename U>
74public:
99 virtual U& processCommands(ChannelControl channelControl) = 0;
100};
101
102} /* namespace spi */
103} /* namespace transaction */
104} /* namespace reader */
105} /* namespace keypop */
virtual U & processCommands(ChannelControl channelControl)=0
Processes all previously prepared commands and closes the physical channel if requested.
Contains operations common to all card transactions.
virtual T & processCommands(ChannelControl channelControl)=0
Processes all previously prepared commands and closes the physical channel if requested.
ChannelControl
Policy for managing the physical channel after a card request is executed.