Interface ObservableRemotePluginSpi
- All Superinterfaces:
AbstractRemotePluginSpi
,RemotePluginSpi
Distributed observable remote plugin extension able to communicate with a distributed local
service extension.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(ObservableRemotePluginApi observableRemotePluginApi) Connects the associated Keyple CoreObservableRemotePluginApi
API.Returns the custom service to be used to asynchronously notify remote reader connection events.void
Invoked when the associated distributed local service starts the observation of all observable local plugins.void
Invoked when the associated distributed local service stops the observation of all observable local plugins.Methods inherited from interface org.eclipse.keyple.core.distributed.remote.spi.AbstractRemotePluginSpi
exchangeApiLevel, executeRemotely, getName, onUnregister
Methods inherited from interface org.eclipse.keyple.core.distributed.remote.spi.RemotePluginSpi
connect, createObservableRemoteReader, createRemoteReader
-
Method Details
-
connect
Connects the associated Keyple CoreObservableRemotePluginApi
API.- Parameters:
observableRemotePluginApi
- The API to connect.- Since:
- 2.0.0
-
getExecutorService
ExecutorService getExecutorService()Returns the custom service to be used to asynchronously notify remote reader connection events.- Returns:
- Null if there is no custom executor service provided.
- Since:
- 2.1.0
-
onStartObservation
void onStartObservation()Invoked when the associated distributed local service starts the observation of all observable local plugins.- Since:
- 2.0.0
-
onStopObservation
void onStopObservation()Invoked when the associated distributed local service stops the observation of all observable local plugins.- Since:
- 2.0.0
-