|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Characteristic.Kind>
org.jnetstream.protocol.Characteristic.Kind
public static enum Characteristic.Kind
Kind of protocol this is. A table of constants that define the kind of protocol as a characteristic. The last bit in the 32-bit unsigned integer determines has the kind of protocol. When set its a group protocol, if not set its a dissector.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.protocol.Characteristic |
|---|
Characteristic.BitCodec, Characteristic.Frame, Characteristic.Kind, Characteristic.Physical |
| Enum Constant Summary | |
|---|---|
Dissector
The protocol is a dissector kind of a protocol and contains codecs for encoding and dissecting protocols. |
|
Group
The protocol is a protocol group which only contains binding information and produces no real header that is exported to the packet. |
|
| Method Summary | |
|---|---|
int |
getValue()
|
static java.util.Set<? extends Characteristic> |
valueOf(int value)
Returns as set the kind characteristic of this protocol. |
static Characteristic.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Characteristic.Kind[] |
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.Kind Dissector
public static final Characteristic.Kind Group
| Method Detail |
|---|
public static final Characteristic.Kind[] values()
for(Characteristic.Kind c : Characteristic.Kind.values())
System.out.println(c);
public static Characteristic.Kind 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 final int getValue()
getValue in interface Characteristicpublic static java.util.Set<? extends Characteristic> valueOf(int value)
value - integer value with bit encoded kind characteristic
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||