Interface AutonomousObservablePluginSpi
- All Superinterfaces:
PluginSpi
Plugin (non pool) having autonomous capabilities to observe reader connections and
disconnections.
Plugin events are produced by the plugin itself.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnect(AutonomousObservablePluginApi autonomousObservablePluginApi) Deprecated.voidsetCallback(AutonomousObservablePluginApi callback) Sets the asynchronous callback that will be called when a reader is connected or disconnected.Methods inherited from interface org.eclipse.keyple.core.plugin.spi.PluginSpi
getName, onUnregister, searchAvailableReaders
-
Method Details
-
connect
Deprecated.UsesetCallback(AutonomousObservablePluginApi)instead.Connects the associated Keyple CoreAutonomousObservablePluginApiAPI.- Parameters:
autonomousObservablePluginApi- The API to connect.- Since:
- 2.0.0
-
setCallback
Sets the asynchronous callback that will be called when a reader is connected or disconnected.- Parameters:
callback- The asynchronous callback to be called.- Since:
- 2.2.0
-
setCallback(AutonomousObservablePluginApi)instead.