Interface RemotePluginSpi
- All Superinterfaces:
AbstractRemotePluginSpi
- All Known Subinterfaces:
ObservableRemotePluginSpi
Distributed remote plugin extension able to communicate with a distributed local service
extension.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(RemotePluginApi remotePluginApi) Connects the associated Keyple CoreRemotePluginApi
API.createObservableRemoteReader
(String remoteReaderName, String localReaderName) Creates aObservableRemoteReaderSpi
associated to the local reader having the provided name.createRemoteReader
(String remoteReaderName, String localReaderName) Creates aRemoteReaderSpi
associated to the local reader having the provided name.Methods inherited from interface org.eclipse.keyple.core.distributed.remote.spi.AbstractRemotePluginSpi
exchangeApiLevel, executeRemotely, getName, onUnregister
-
Method Details
-
connect
Connects the associated Keyple CoreRemotePluginApi
API.- Parameters:
remotePluginApi
- The API to connect.- Since:
- 2.0.0
-
createRemoteReader
Creates aRemoteReaderSpi
associated to the local reader having the provided name.- Parameters:
remoteReaderName
- The remote name of the associated local reader.localReaderName
- The original name of the associated local reader.- Returns:
- A new instance.
- Since:
- 2.0.0
-
createObservableRemoteReader
ObservableRemoteReaderSpi createObservableRemoteReader(String remoteReaderName, String localReaderName) Creates aObservableRemoteReaderSpi
associated to the local reader having the provided name.- Parameters:
remoteReaderName
- The remote name of the associated local reader.localReaderName
- The original name of the associated local observable reader.- Returns:
- A new instance.
- Throws:
IllegalStateException
- If the reader observation strategy is not configured.- Since:
- 2.0.0
-