#include <SeReader.h>
Inherits keyple::core::seproxy::ProxyElement.
Inherited by keyple::core::seproxy::event::ObservableReader [virtual]
, and keyple::core::seproxy::message::ProxyReader [virtual]
.
SeReader interface
-
To retrieve the unique reader name
-
To check the SE presence.
-
To set the communication protocol and the specific reader parameters.
Interface used by applications processing SE.
◆ ~SeReader()
virtual keyple::core::seproxy::SeReader::~SeReader |
( |
| ) |
|
|
inlinevirtual |
◆ addSeProtocolSetting()
virtual void keyple::core::seproxy::SeReader::addSeProtocolSetting |
( |
std::shared_ptr< SeProtocol > |
seProtocol, |
|
|
const std::string & |
protocolRule |
|
) |
| |
|
pure virtual |
A protocol setting is an association that establish the link between a protocol identifier and a String that defines how a particular SE may match this protocol.
For example:
for a PC/SC plugin the String is defined as a regular expression that will be applied to the ATR in order to identify which type of SE is currently communicating.
for another plugin (e.g. NFC or proprietary plugin) the String would be any specific word to match a value handled by the low level API of the reader (e.g. "NfcA", "NfcB", "MifareClassic", etc)
A reader plugin will handle a list of protocol settings in order to target multiple types of SE.
- Parameters
-
seProtocol | the protocol key identifier to be added to the plugin internal list |
protocolRule | a string use to define how to identify the protocol |
Implemented in keyple::core::seproxy::plugin::AbstractLocalReader.
◆ getTransmissionMode()
virtual const TransmissionMode& keyple::core::seproxy::SeReader::getTransmissionMode |
( |
| ) |
const |
|
pure virtual |
◆ isSePresent()
virtual bool keyple::core::seproxy::SeReader::isSePresent |
( |
| ) |
|
|
pure virtual |
◆ operator==()
virtual bool keyple::core::seproxy::SeReader::operator== |
( |
const SeReader & |
o | ) |
const |
|
inlinevirtual |
◆ setSeProtocolSetting()
virtual void keyple::core::seproxy::SeReader::setSeProtocolSetting |
( |
const std::map< std::shared_ptr< SeProtocol >, std::string > & |
protocolSetting | ) |
|
|
pure virtual |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const std::shared_ptr< SeReader > |
sr |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: