Keypop Card C++ API 2.0.0
Reference Card API for C++
include
keypop
card
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"
15
#include "
keypop/card/CardResponseApi.hpp
"
16
#include "
keypop/card/ChannelControl.hpp
"
17
18
namespace
keypop
{
19
namespace
card {
20
33
class
ProxyReaderApi
{
34
public
:
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 */
CardResponseApi.hpp
ChannelControl.hpp
keypop::card::ProxyReaderApi
Definition:
ProxyReaderApi.hpp:33
keypop::card::ProxyReaderApi::~ProxyReaderApi
virtual ~ProxyReaderApi()=default
keypop::card::ProxyReaderApi::releaseChannel
virtual void releaseChannel()=0
keypop::card::ProxyReaderApi::transmitCardRequest
virtual const std::shared_ptr< CardResponseApi > transmitCardRequest(const std::shared_ptr< CardRequestSpi > cardRequest, const ChannelControl channelControl)=0
keypop::card::ChannelControl
ChannelControl
Definition:
ChannelControl.hpp:20
keypop
Definition:
AbstractApduException.hpp:18
Generated by
1.9.2