Package | Description |
---|---|
org.eclipse.keyple.core.card.message |
Contains the POJOs carrying the data to or from the cards.
|
org.eclipse.keyple.core.card.selection |
Contains the classes to handle the card selection process.
|
org.eclipse.keyple.core.plugin |
Contains the plugin and reader management classes.
|
org.eclipse.keyple.core.service |
Contains the
SmartCardService and the main interfaces. |
org.eclipse.keyple.core.service.event |
Contains the necessary APIs for observing plugins and readers (used by ticketing applications).
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProxyReader
Defines the methods of a
Reader for communicating with cards. |
Modifier and Type | Method and Description |
---|---|
Reader |
CardResource.getReader()
Gets the reader
|
Modifier and Type | Method and Description |
---|---|
CardSelectionsResult |
CardSelectionsService.processExplicitSelections(Reader reader)
Execute the selection process and return a list of
AbstractSmartCard . |
Constructor and Description |
---|
CardResource(Reader reader,
T smartCard)
Constructor
|
Modifier and Type | Interface and Description |
---|---|
interface |
DontWaitForCardRemovalDuringProcessing
Interface to be implemented by readers not able to detect a card removal during
processing, between two APDU commands.
|
interface |
ObservableReaderNotifier
Provides the API to notify the observers of an
ObservableReader |
interface |
SmartSelectionReader
Interface implemented by readers able to handle natively the card selection process.
|
interface |
WaitForCardInsertionAutonomous
Interface to be implemented by readers that have a fully integrated management of card
communications for card insertion detection.
|
interface |
WaitForCardInsertionBlocking
Interface to be implemented by readers that are autonomous in the management of waiting for the
insertion of a card and that provide a method to wait for it indefinitely.
|
interface |
WaitForCardInsertionNonBlocking
Interface to be implemented by readers that require an active process to detect the card
insertion.
|
interface |
WaitForCardRemovalAutonomous
Interface to be implemented by readers that have a fully integrated management of card
communications for card removal detection.
|
interface |
WaitForCardRemovalBlocking
Interface to be implemented by the readers able to handle natively the card removal process.
|
interface |
WaitForCardRemovalDuringProcessing
Interface to be implemented by readers able to detect a card removal during processing, between
two APDU commands.
|
interface |
WaitForCardRemovalNonBlocking
Interface to be implemented by readers that require an active process to detect the card removal.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLocalReader
Implements the methods defined by the
ProxyReader interface for a local reader. |
class |
AbstractObservableLocalAutonomousReader
Extends
AbstractObservableLocalReader to allow the reader implementation to call back the
core when card insertion and removal events occur. |
class |
AbstractObservableLocalReader
Extends
AbstractLocalReader to manage the observation of card events. |
class |
AbstractReader
Implements the ProxyReader high-level interface.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Reader> |
AbstractPlugin.readers
The list of readers
|
Modifier and Type | Method and Description |
---|---|
protected abstract Reader |
AbstractThreadedObservablePlugin.fetchNativeReader(java.lang.String name)
Fetch connected native reader (from third party library) by its name Returns the current
AbstractReader if it is already listed. |
Reader |
AbstractPlugin.getReader(java.lang.String name)
Gets a specific reader designated by its name in the current readers list
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Reader> |
AbstractPlugin.getReaders()
Returns the current readers name instance map.
|
protected abstract java.util.Map<java.lang.String,Reader> |
AbstractPlugin.initNativeReaders()
Init connected native readers (from third party library) and returns a map of corresponding
Reader with their name as key. |
Modifier and Type | Method and Description |
---|---|
Reader |
PoolPlugin.allocateReader(java.lang.String groupReference)
Obtains an available Reader resource and makes it exclusive to the caller until the
releaseReader method is called.
|
Reader |
Plugin.getReader(java.lang.String name)
Gets the reader whose name is provided as an argument
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Reader> |
Plugin.getReaders()
Gets the readers.
|
Modifier and Type | Method and Description |
---|---|
void |
PoolPlugin.releaseReader(Reader reader)
Releases a Reader previously allocated with allocateReader.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ObservableReader
Provides the API to observe cards insertion/removal.
|
Modifier and Type | Method and Description |
---|---|
Reader |
ReaderEvent.getReader()
Gets the
Reader from which generated event comes from |