Keypop Card C++ API 2.0.0
Reference Card API for C++
ProxyReaderApi.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <memory>
14
18
19namespace keypop {
20namespace card {
21
23
38public:
42 virtual ~ProxyReaderApi() = default;
43
77 virtual const std::shared_ptr<CardResponseApi> transmitCardRequest(
78 const std::shared_ptr<CardRequestSpi> cardRequest,
79 const ChannelControl channelControl)
80 = 0;
81
89 virtual void releaseChannel() = 0;
90};
91
92} /* namespace card */
93} /* namespace keypop */
virtual ~ProxyReaderApi()=default
virtual void releaseChannel()=0
virtual const std::shared_ptr< CardResponseApi > transmitCardRequest(const std::shared_ptr< CardRequestSpi > cardRequest, const ChannelControl channelControl)=0