Package org.openmuc.jdlms
Class MethodResult
- java.lang.Object
-
- org.openmuc.jdlms.MethodResult
-
public final class MethodResult extends java.lang.Object
Container class holding the results of a remote method invocation via action operation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodResultCode
getResultCode()
DataObject
getResultData()
Returns the data of return data of this method call.java.lang.String
toString()
-
-
-
Method Detail
-
getResultData
public DataObject getResultData()
Returns the data of return data of this method call. Note that this value is null if isSuccess() is false.- Returns:
- Returns the data of return data
-
getResultCode
public MethodResultCode getResultCode()
- Returns:
- The result code of the method call
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-