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 TypeMethodDescriptionvoidconnect(RemotePluginApi remotePluginApi) Connects the associated Keyple CoreRemotePluginApiAPI.createObservableRemoteReader(String remoteReaderName, String localReaderName) Creates aObservableRemoteReaderSpiassociated to the local reader having the provided name.createRemoteReader(String remoteReaderName, String localReaderName) Creates aRemoteReaderSpiassociated 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 CoreRemotePluginApiAPI.- Parameters:
remotePluginApi- The API to connect.- Since:
- 2.0.0
-
createRemoteReader
Creates aRemoteReaderSpiassociated 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 aObservableRemoteReaderSpiassociated 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
-