|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.Priority
public final class Priority
Priority of KNX messages for access on a KNX medium.
All possible priority values are supplied as immutable Priority constants.
Field Summary | |
---|---|
static Priority |
LOW
Low priority, used for long frames. |
static Priority |
NORMAL
Normal priority, the default for short frames. |
static Priority |
SYSTEM
System priority, reserved for high priority management and system configuration. |
static Priority |
URGENT
Urgent priority, for urgent frames. |
byte |
value
Constant with the 2 Bit representation of this priority used in the message priority field. |
Method Summary | |
---|---|
static Priority |
get(int value)
Returns the priority of the supplied priority value code. |
static Priority |
get(java.lang.String value)
Returns the priority of the supplied priority value representation. |
java.lang.String |
toString()
Returns the priority in textual representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Priority LOW
public static final Priority NORMAL
public static final Priority SYSTEM
public static final Priority URGENT
public final byte value
Method Detail |
---|
public static Priority get(int value)
value
- priority value code, 0 <= value <= 3
public static Priority get(java.lang.String value)
The following textual representations for value
are allowed:
toString()
.
value
- priority value in textual representation, value is treated case
insensitive
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |