Interface RemoteReaderSpi

All Known Subinterfaces:
ObservableRemoteReaderSpi

public interface RemoteReaderSpi
Distributed remote reader extension able to communicate with a distributed local service extension.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Forwards the provided JSON data to the associated distributed local service in order to perform a command on the associated local reader.
    Returns the name of the distributed remote reader extension.
    Indicates if the local reader is contactless or not.
  • Method Details

    • getName

      String getName()
      Returns the name of the distributed remote reader extension.
      Returns:
      A not empty string.
      Since:
      2.0.0
    • isContactless

      Boolean isContactless()
      Indicates if the local reader is contactless or not.
      Returns:
      Null if the information is unknown.
      Since:
      3.1.0
    • executeRemotely

      String executeRemotely(String jsonData)
      Forwards the provided JSON data to the associated distributed local service in order to perform a command on the associated local reader.
      Parameters:
      jsonData - A JSON string containing the data to transmit.
      Returns:
      A JSON string containing the response received from the distributed local service. It can be empty if the command returns nothing.
      Since:
      2.0.0