For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

MTSCRAConfig Class Methods

This class provides methods to retrieve configuration parameters from the server.

getConfigurationXML

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 MTSCRAException

Parameters:

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.

getConfigurationResponse

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.

getConfigurationParams

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.

Last updated