public enum AccessResultCode extends java.lang.Enum<AccessResultCode> implements org.openmuc.jdlms.internal.JDlmsEnumeration
Enum Constant and Description |
---|
DATA_BLOCK_UNAVAILABLE
Remote station was not able to create the next PDU of the pending get or set
|
HARDWARE_FAULT
Error on hardware level
|
LONG_GET_ABORTED
Get that needs several PDUs to sent has been canceled
|
LONG_SET_ABORTED
Set that needs several PDUs to sent has been canceled
|
NO_LONG_GET_IN_PROGRESS
Client requested the next PDU while there is no action with multiple PDUs pending
|
NO_LONG_SET_IN_PROGRESS
Client requested the next PDU while there is no action with multiple PDUs pending
|
OBJECT_CLASS_INCONSISTENT
Data is not compatible with method called
|
OBJECT_UNAVAILABLE
Object is currently not available at smart meter.
|
OBJECT_UNDEFINED
Combination of classId, obisCode and attributeId does not exist
|
OTHER_REASON
Reason unknown
|
READ_WRITE_DENIED
Client does not have the rights to read or write this object
|
SCOPE_OF_ACCESS_VIOLATED
Client is not authorized to get or set attribute
|
SUCCESS
Method processed successfully
|
TEMPORARY_FAILURE
Unknown error, try again
|
TYPE_UNMATCHED
Data type is not supported by the remote object
|
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
static AccessResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessResultCode SUCCESS
public static final AccessResultCode HARDWARE_FAULT
public static final AccessResultCode TEMPORARY_FAILURE
public static final AccessResultCode READ_WRITE_DENIED
public static final AccessResultCode OBJECT_UNDEFINED
public static final AccessResultCode OBJECT_CLASS_INCONSISTENT
public static final AccessResultCode OBJECT_UNAVAILABLE
public static final AccessResultCode TYPE_UNMATCHED
public static final AccessResultCode SCOPE_OF_ACCESS_VIOLATED
public static final AccessResultCode DATA_BLOCK_UNAVAILABLE
public static final AccessResultCode LONG_GET_ABORTED
public static final AccessResultCode NO_LONG_GET_IN_PROGRESS
public static final AccessResultCode LONG_SET_ABORTED
public static final AccessResultCode NO_LONG_SET_IN_PROGRESS
public static final AccessResultCode OTHER_REASON
public static AccessResultCode[] values()
for (AccessResultCode c : AccessResultCode.values()) System.out.println(c);
public static AccessResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getCode()
getCode
in interface org.openmuc.jdlms.internal.JDlmsEnumeration