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) 2024 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 https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <memory>
13
14#include "keypop/card/CardRequestSpi.hpp"
17
18namespace keypop {
19namespace card {
20
34public:
38 virtual ~ProxyReaderApi() = default;
39
66 virtual const std::shared_ptr<CardResponseApi> transmitCardRequest(
67 const std::shared_ptr<CardRequestSpi> cardRequest, const ChannelControl channelControl)
68 = 0;
69
76 virtual void releaseChannel() = 0;
77};
78
79} /* namespace card */
80} /* 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