Package org.openmuc.jdlms
Interface GetResult
-
public interface GetResult
Class representing the result of the get 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
.
-
-