Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::core::seproxy::plugin::SmartSelectionReader Class Referenceabstract

#include <SmartSelectionReader.h>

Inherits keyple::core::seproxy::message::ProxyReader.

Public Member Functions

virtual std::shared_ptr< ApduResponseopenChannelForAid (SeSelector::AidSelector &aidSelector)=0
 
- Public Member Functions inherited from keyple::core::seproxy::message::ProxyReader
virtual ~ProxyReader ()
 
virtual std::vector< std::shared_ptr< SeResponse > > transmitSeRequests (const std::vector< std::shared_ptr< SeRequest >> &seRequests, const MultiSeRequestProcessing &multiSeRequestProcessing, const ChannelControl &channelControl)=0
 
virtual std::shared_ptr< SeResponsetransmitSeRequest (std::shared_ptr< SeRequest > seRequest, const ChannelControl &channelControl)=0
 
- Public Member Functions inherited from keyple::core::seproxy::SeReader
virtual ~SeReader ()
 
virtual bool isSePresent ()=0
 
virtual void addSeProtocolSetting (std::shared_ptr< SeProtocol > seProtocol, const std::string &protocolRule)=0
 
virtual void setSeProtocolSetting (const std::map< std::shared_ptr< SeProtocol >, std::string > &protocolSetting)=0
 
virtual const TransmissionModegetTransmissionMode () const =0
 
virtual bool operator== (const SeReader &o) const
 
- Public Member Functions inherited from keyple::core::seproxy::ProxyElement
virtual ~ProxyElement ()=default
 
virtual const std::string & getName () const =0
 
virtual const std::map< const std::string, const std::string > & getParameters () const =0
 
virtual void setParameter (const std::string &key, const std::string &value)=0
 
virtual void setParameters (const std::map< const std::string, const std::string > &parameters)
 

Detailed Description

Interface implemented by readers able to handle natively the SE selection process (e.g. Android OMAPI readers).

Member Function Documentation

◆ openChannelForAid()

virtual std::shared_ptr<ApduResponse> keyple::core::seproxy::plugin::SmartSelectionReader::openChannelForAid ( SeSelector::AidSelector aidSelector)
pure virtual

Opens a logical channel for the provided AID

Parameters
aidSelectorthe selection data
Returns
an ApduResponse containing the SE answer to selection
Exceptions
KeypleReaderIOExceptionif the communication with the reader or the SE has failed

The documentation for this class was generated from the following file: