Interface ObservableRemotePluginSpi

All Superinterfaces:
AbstractRemotePluginSpi, RemotePluginSpi

public interface ObservableRemotePluginSpi extends RemotePluginSpi
Distributed observable remote plugin extension able to communicate with a distributed local service extension.
Since:
2.0.0
  • Method Details

    • connect

      void connect(ObservableRemotePluginApi observableRemotePluginApi)
      Connects the associated Keyple Core ObservableRemotePluginApi 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