Interface RemotePluginSpi
-
- All Superinterfaces:
AbstractRemotePluginSpi
- All Known Subinterfaces:
ObservableRemotePluginSpi
public interface RemotePluginSpi extends AbstractRemotePluginSpi
Distributed remote plugin extension able to communicate with a distributed local service extension.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnect(RemotePluginApi remotePluginApi)Connects the associated Keyple CoreRemotePluginApiAPI.ObservableRemoteReaderSpicreateObservableRemoteReader(java.lang.String remoteReaderName, java.lang.String localReaderName)Creates aObservableRemoteReaderSpiassociated to the local reader having the provided name.RemoteReaderSpicreateRemoteReader(java.lang.String remoteReaderName, java.lang.String localReaderName)Creates aRemoteReaderSpiassociated to the local reader having the provided name.-
Methods inherited from interface org.eclipse.keyple.core.distributed.remote.spi.AbstractRemotePluginSpi
executeRemotely, getName, onUnregister
-
-
-
-
Method Detail
-
connect
void connect(RemotePluginApi remotePluginApi)
Connects the associated Keyple CoreRemotePluginApiAPI.- Parameters:
remotePluginApi- The API to connect.- Since:
- 2.0.0
-
createRemoteReader
RemoteReaderSpi createRemoteReader(java.lang.String remoteReaderName, java.lang.String localReaderName)
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(java.lang.String remoteReaderName, java.lang.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:
java.lang.IllegalStateException- If the reader observation strategy is not configured.- Since:
- 2.0.0
-
-