Interface RemotePluginApi


public interface RemotePluginApi
API associated to a RemotePluginSpi.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Must be invoked when a message containing a reader event is received from the distributed local service in order to be forward to the associated observable remote reader.
  • Method Details

    • onReaderEvent

      void onReaderEvent(String jsonData)
      Must be invoked when a message containing a reader event is received from the distributed local service in order to be forward to the associated observable remote reader.
      Parameters:
      jsonData - A JSON string containing the reader event.
      Throws:
      IllegalArgumentException - If the JSON data is null, empty or malformed.
      IllegalStateException - If there is no associated observable remote reader registered.
      Since:
      2.0.0