Interface RemoteReaderSpi
-
- All Known Subinterfaces:
ObservableRemoteReaderSpi
public interface RemoteReaderSpiDistributed remote reader extension able to communicate with a distributed local service extension.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringexecuteRemotely(java.lang.String jsonData)Forwards the provided JSON data to the associated distributed local service in order to perform a command on the associated local reader.java.lang.StringgetName()Gets the name of the distributed remote reader extension.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of the distributed remote reader extension.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
executeRemotely
java.lang.String executeRemotely(java.lang.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
-
-