Package org.openmuc.jdlms
Interface ReadResult
-
public interface ReadResult
This class represents the result of the invocation of the read service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessResultCode
getResultCode()
The result code of the the request.DataObject
getResultData()
Returns the data of return data of the request.boolean
requestSuccessful()
The success of preceding request.
-
-
-
Method Detail
-
getResultData
DataObject getResultData()
Returns the data of return data of the request.NOTE: if the value of getResultCode() is not AccessResultCode.SUCCESS, the result data is
null
.- Returns:
- returns the data of return data
-
getResultCode
AccessResultCode getResultCode()
The result code of the the request.- Returns:
- The result code of the get operation
-
requestSuccessful
boolean requestSuccessful()
The success of preceding request.- Returns:
true
if it was successful. Iffalse
, getResultData() returnsnull
.
-
-