Package org.eclipse.keyple.distributed
Interface RemoteReaderServer
-
- All Superinterfaces:
org.eclipse.keyple.core.common.KeypleReaderExtension
public interface RemoteReaderServer extends org.eclipse.keyple.core.common.KeypleReaderExtension
API of the Remote Reader Server provided by the Remote Plugin Server to be used in the Reader Client Side configuration mode.It is a
KeypleReaderExtension
of a Keyple Reader (not observable) which provides some specific features.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getInitialCardContent()
Gets the initial content of the smart card if it is set.<T> T
getInputData(java.lang.Class<T> inputDataClass)
Gets the input data if it is set.java.lang.String
getServiceId()
Gets the ID of the remote service to execute server side.
-
-
-
Method Detail
-
getServiceId
java.lang.String getServiceId()
Gets the ID of the remote service to execute server side.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
getInitialCardContent
java.lang.Object getInitialCardContent()
Gets the initial content of the smart card if it is set.The returned
org.calypsonet.terminal.reader.selection.SmartCard
object can be cast into the expected type.- Returns:
- Null if there is no initial card content.
- Since:
- 2.0.0
-
getInputData
<T> T getInputData(java.lang.Class<T> inputDataClass)
Gets the input data if it is set.- Type Parameters:
T
- The type of the expected input data.- Parameters:
inputDataClass
- The expected input data type.- Returns:
- Null if there is no input data.
- Throws:
java.lang.IllegalArgumentException
- If the provided class is null.- Since:
- 2.0.0
-
-