Package org.eclipse.keyple.core.service
Interface Reader
-
- All Superinterfaces:
org.calypsonet.terminal.reader.CardReader
- All Known Subinterfaces:
ConfigurableReader
,ObservableReader
@Deprecated public interface Reader extends org.calypsonet.terminal.reader.CardReader
Deprecated.UseCardReader
instead.Drives the underlying hardware to configure the search and check for the presence of cards.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T extends org.eclipse.keyple.core.common.KeypleReaderExtension>
TgetExtension(java.lang.Class<T> readerExtensionClass)
Deprecated.UsePlugin.getReaderExtension(Class, String)
instead.
-
-
-
Method Detail
-
getExtension
@Deprecated <T extends org.eclipse.keyple.core.common.KeypleReaderExtension> T getExtension(java.lang.Class<T> readerExtensionClass)
Deprecated.UsePlugin.getReaderExtension(Class, String)
instead.Returns theKeypleReaderExtension
that is reader-specific.Note: the provided argument is used at compile time to check the type consistency.
- Type Parameters:
T
- The type of the reader extension.- Parameters:
readerExtensionClass
- The specific class of the reader.- Returns:
- A
KeypleReaderExtension
. - Throws:
java.lang.IllegalStateException
- If reader is no longer registered.- Since:
- 2.0.0
-
-