Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <StubPoolPlugin.h>
Inherits keyple::core::seproxy::ReaderPoolPlugin.
Inherited by keyple::plugin::stub::StubPoolPluginImpl.
Public Member Functions | |
virtual std::shared_ptr< SeReader > | plugStubPoolReader (const std::string &groupReference, const std::string &readerName, std::shared_ptr< StubSecureElement > se)=0 |
virtual void | unplugStubPoolReader (const std::string &groupReference)=0 |
![]() | |
virtual std::set< std::string > | getReaderGroupReferences ()=0 |
virtual std::shared_ptr< SeReader > | allocateReader (const std::string &groupReference)=0 |
virtual void | releaseReader (std::shared_ptr< SeReader > seReader)=0 |
![]() | |
virtual | ~ReaderPlugin ()=default |
virtual const std::set< std::string > | getReaderNames () const =0 |
virtual ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & | getReaders ()=0 |
virtual const std::shared_ptr< SeReader > | getReader (const std::string &name)=0 |
![]() | |
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 > ¶meters) |
StubPoolPlugin allows to simulate a keyple::core::seproxy::ReaderPoolPlugin and a keyple::plugin::stub::StubSecureElement
|
pure virtual |
Plug synchronously a new keyple::core::seproxy::protocol::TransmissionMode in Pool with groupReference and a StubSE. A READER_CONNECTED event will be raised.
groupReference | : group refence of the new stub reader |
readerName | : name of the new stub reader |
se | : insert a se at creation (can be null) |
Implemented in keyple::plugin::stub::StubPoolPluginImpl.
|
pure virtual |
Unplug synchronously a new reader by groupReference. A READER_DISCONNECTED event will be raised.
groupReference | groupReference of the reader to be unplugged |
Implemented in keyple::plugin::stub::StubPoolPluginImpl.