

This class provides methods to retrieve configuration parameters from the server.
This method retrieves the configuration parameters from the server as an XML data. The method will throw an exception if there is a problem with retrieving the configuration XML.
public String getConfigurationXML(
String username,
String password,
int readerType,
SCRAConfigurationDeviceInfo deviceInfo,
String address,
int timeout) throws MTSCRAExceptionParameters:
Parameter
Description
username
String value of the username.
password
String value of the password.
readerType
Integer value indicating the type of reader device.
deviceInfo
SCRAConfigurationDeviceInfo value containing information pertaining to the device.
address
String value of the address for connection to the server.
timeout
Integer value of the timeout in seconds for connection to the server.
Return Value:
String value of the configuration parameters retrieved from the server.
This method retrieves the configuration parameters from XML data as a ProcessMessageResponse object. The method will throw an exception if there is a problem with retrieving the configuration XML.
Parameters:
Parameter
Description
xmlConfig
String value of the the configuration parameters from the server.
Return Value:
ProcessMessageResponse containing the configuration parameters.
This method retrieves the configuration parameters from the server as an XML data. The method will throw an exception if there is a problem with retrieving the configuration XML.
Parameters:
Parameter
Description
model
String value containing the device model.
messageResponse
ProcessMessageResponse containing the configuration parameters.
Return Value:
String value of the configuration parameters for the specified device model.
public ProcessMessageResponse getConfigurationResponse(
String xmlConfig) throws MTSCRAExceptionpublic String getConfigurationParams(
String model,
ProcessMessageResponse messageReponse) throws MTSCRAException
