Interface RemotePluginApi


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onReaderEvent​(java.lang.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.
    • Method Detail

      • onReaderEvent

        void onReaderEvent​(java.lang.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:
        java.lang.IllegalArgumentException - If the JSON data is null, empty or malformed.
        java.lang.IllegalStateException - If there is no associated observable remote reader registered.
        Since:
        2.0.0