apply
R apply(java.lang.String functionalProfile,
java.lang.String dataPoint)
throws com.smartgridready.driver.api.common.GenDriverException,
com.smartgridready.driver.api.modbus.GenDriverModbusException,
com.smartgridready.driver.api.modbus.GenDriverSocketException,
java.io.IOException,
RestApiServiceCallException,
RestApiAuthenticationException,
RestApiResponseParseException
Executes the function.
- Parameters:
functionalProfile - the functional profile name
dataPoint - the data point name
- Returns:
- a result of the generic type
- Throws:
com.smartgridready.driver.api.common.GenDriverException - when an unspecific error occurred
com.smartgridready.driver.api.modbus.GenDriverModbusException - when a Modbus error occurred
com.smartgridready.driver.api.modbus.GenDriverSocketException - when a network error occurred
java.io.IOException - when a communication error occurred
RestApiServiceCallException - when the HTTP request failed
RestApiAuthenticationException - when HTTP authentication failed
RestApiResponseParseException - when the HTTP response could not be parsed