|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Characteristic.Frame>
org.jnetstream.protocol.Characteristic.Frame
public static enum Characteristic.Frame
Describes frame characteristics of a protocol. Can be encoded into its 27-24 of a 32-bit unsigned integer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.protocol.Characteristic |
|---|
Characteristic.BitCodec, Characteristic.Frame, Characteristic.Kind, Characteristic.Physical |
| Enum Constant Summary | |
|---|---|
HasCrc
Frame has CRC field at the end of the frame |
|
HasPreamble
Frame contains 8 byte preamble at the front of the frame |
|
None
No special frame characteristics present |
|
| Method Summary | |
|---|---|
int |
getValue()
|
static java.util.Set<? extends Characteristic> |
valueOf(int value)
Returns an efficient EnumSet of all the frame characteristics that are encoded into the integer value. |
static Characteristic.Frame |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Characteristic.Frame[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Characteristic.Frame HasCrc
public static final Characteristic.Frame HasPreamble
public static final Characteristic.Frame None
| Method Detail |
|---|
public static final Characteristic.Frame[] values()
for(Characteristic.Frame c : Characteristic.Frame.values())
System.out.println(c);
public static Characteristic.Frame 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 namepublic int getValue()
getValue in interface Characteristicpublic static java.util.Set<? extends Characteristic> valueOf(int value)
value - integer value with bit encoded frame properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||