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 Details

    • connect

      void connect(RemotePluginApi remotePluginApi)
      Connects the associated Keyple Core RemotePluginApi API.
      Parameters:
      remotePluginApi - The API to connect.
      Since:
      2.0.0
    • createRemoteReader

      RemoteReaderSpi createRemoteReader(String remoteReaderName, String localReaderName)
      Creates a RemoteReaderSpi 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 a ObservableRemoteReaderSpi 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