Package org.openmuc.jdlms
Enum ConformanceSetting
- java.lang.Object
-
- java.lang.Enum<ConformanceSetting>
-
- org.openmuc.jdlms.ConformanceSetting
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConformanceSetting>
public enum ConformanceSetting extends java.lang.Enum<ConformanceSetting>
Conformance block used to negotiate the communication capabilities, between client and server.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION
ATTRIBUTE0_SUPPORTED_WITH_GET
ATTRIBUTE0_SUPPORTED_WITH_SET
BLOCK_TRANSFER_WITH_ACTION
BLOCK_TRANSFER_WITH_GET_OR_READ
BLOCK_TRANSFER_WITH_SET_OR_WRITE
EVENT_NOTIFICATION
GET
INFORMTION_REPORT
Event Notification for Sn connections.MULTIPLE_REFERENCES
Allow service list requests.PARAMETERIZED_ACCESS
Selective Access for SN connections.PRIORITY_MGMT_SUPPORTED
READ
SELECTIVE_ACCESS
SET
UNCONFIRMED_WRITE
WRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
static ConformanceSetting
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConformanceSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final ConformanceSetting READ
-
WRITE
public static final ConformanceSetting WRITE
-
UNCONFIRMED_WRITE
public static final ConformanceSetting UNCONFIRMED_WRITE
-
INFORMTION_REPORT
public static final ConformanceSetting INFORMTION_REPORT
Event Notification for Sn connections.
-
PARAMETERIZED_ACCESS
public static final ConformanceSetting PARAMETERIZED_ACCESS
Selective Access for SN connections.
-
ATTRIBUTE0_SUPPORTED_WITH_SET
public static final ConformanceSetting ATTRIBUTE0_SUPPORTED_WITH_SET
-
PRIORITY_MGMT_SUPPORTED
public static final ConformanceSetting PRIORITY_MGMT_SUPPORTED
-
ATTRIBUTE0_SUPPORTED_WITH_GET
public static final ConformanceSetting ATTRIBUTE0_SUPPORTED_WITH_GET
-
BLOCK_TRANSFER_WITH_GET_OR_READ
public static final ConformanceSetting BLOCK_TRANSFER_WITH_GET_OR_READ
-
BLOCK_TRANSFER_WITH_SET_OR_WRITE
public static final ConformanceSetting BLOCK_TRANSFER_WITH_SET_OR_WRITE
-
BLOCK_TRANSFER_WITH_ACTION
public static final ConformanceSetting BLOCK_TRANSFER_WITH_ACTION
-
MULTIPLE_REFERENCES
public static final ConformanceSetting MULTIPLE_REFERENCES
Allow service list requests.
-
GET
public static final ConformanceSetting GET
-
SET
public static final ConformanceSetting SET
-
SELECTIVE_ACCESS
public static final ConformanceSetting SELECTIVE_ACCESS
-
EVENT_NOTIFICATION
public static final ConformanceSetting EVENT_NOTIFICATION
-
ACTION
public static final ConformanceSetting ACTION
-
-
Method Detail
-
values
public static ConformanceSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConformanceSetting c : ConformanceSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConformanceSetting valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIndex
public int getIndex()
-
-