Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <PoSelector.h>
Inherits keyple::core::seproxy::SeSelector.
Classes | |
class | PoSelectorBuilder |
Public Types | |
enum | InvalidatedPo { InvalidatedPo::REJECT, InvalidatedPo::ACCEPT } |
Public Member Functions | |
PoSelector (PoSelectorBuilder *builder) | |
![]() | |
SeSelector (const SeSelector &o)=default | |
virtual | ~SeSelector () |
virtual const std::shared_ptr< SeProtocol > | getSeProtocol () const |
virtual std::shared_ptr< AtrFilter > | getAtrFilter () const |
virtual std::shared_ptr< AidSelector > | getAidSelector () const |
const std::string & | getExtraInfo () const |
SeSelector (SeSelectorBuilder *builder) | |
Static Public Member Functions | |
static std::shared_ptr< PoSelectorBuilder > | builder () |
![]() | |
static std::shared_ptr< SeSelectorBuilder > | builder () |
The keyple::calypso::transaction::PoSelector class extends keyple::core::seproxy::SeSelector to handle specific PO features such as the additional successful status codes list (in response to a select application command)
Indicates if an invalidated PO should be selected or not.
The acceptance of an invalid PO is determined with the additional successful status codes specified in the keyple::core::seproxy::SeSelector::AidSelector
Enumerator | |
---|---|
REJECT | |
ACCEPT |
keyple::calypso::transaction::PoSelector::PoSelector | ( | PoSelectorBuilder * | builder | ) |
Private constructor
C++ vs. Java: Should be private but would forbid usage of make_shared from PoSelectorBuilder class. Setting it public for now. Could use an intermediate derived class otherwise if need be.
|
static |
Gets a new builder.