|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SnoopDLT>
org.jnetstream.capture.file.snoop.SnoopDLT
public enum SnoopDLT
Pcap data link type that specified the type of the first protocol found within the packet's content buffer.
| Enum Constant Summary | |
|---|---|
CharSynchronous
|
|
Ethernet
|
|
FDDI
|
|
HDLC
|
|
IBMChannel2Channel
|
|
IEEE802DOT3
|
|
IEEE802DOT4
|
|
IEEE802DOT5
|
|
IEEE802DOT6
|
|
Other
|
|
| Method Summary | |
|---|---|
static Protocol |
asConst(long raw)
|
static SnoopDLT |
asPcap(Protocol p)
Converts a jNS protocol constant into a PcapDLT specific value |
Protocol |
asProtocol()
Returns the mapped jNS protocol constant for this PcapDLT |
long |
intValue()
Returns the integer representation of this DLT |
static SnoopDLT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SnoopDLT[] |
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 SnoopDLT IEEE802DOT3
public static final SnoopDLT IEEE802DOT4
public static final SnoopDLT IEEE802DOT5
public static final SnoopDLT IEEE802DOT6
public static final SnoopDLT Ethernet
public static final SnoopDLT HDLC
public static final SnoopDLT CharSynchronous
public static final SnoopDLT IBMChannel2Channel
public static final SnoopDLT FDDI
public static final SnoopDLT Other
| Method Detail |
|---|
public static final SnoopDLT[] values()
for(SnoopDLT c : SnoopDLT.values())
System.out.println(c);
public static SnoopDLT 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 long intValue()
public Protocol asProtocol()
public static SnoopDLT asPcap(Protocol p)
p - jNS protocol constant
public static Protocol asConst(long raw)
raw -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||