|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Packet.Property>
org.jnetstream.packet.Packet.Property
public static enum Packet.Property
Properties which are autogenerated or exported from NPL definition.
| Enum Constant Summary | |
|---|---|
DestinationAddress
Destination address of this packet as exported by the highest OSI level header |
|
DestinationPort
Destination port number of this packet, if exists, of the highest level OSI level header |
|
FlowKey
Flow key associated with this packet. |
|
Included
Included length property holds the number of bytes that were captured for the packet which may be less then the original size of the packet. |
|
Index
Raw index of this packet as it was captured, read or created |
|
Init
Special property that is used to initialize fields when packet is created from memory. |
|
LongSummary
|
|
Nanos
The capture timestamp contains a fraction of a second, specified in nano seconds of exactly when the packet was captured. |
|
Original
Original length property holds the original size of the packet when it was captured on the wire. |
|
Seconds
Timestamp seconds property as a unix timestamp. |
|
ShortSummary
|
|
SourceAddress
Source address of this packet as exported by the highest OSI level header |
|
SourcePort
Source port number of this packet, if exists, of the highest level OSI level header |
|
Timestamp
A readonly Property which combines the Seconds and Nanos properties into a single object which can display the value nicely formatted. |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getValueType()
Returns the class that must be used to hold the value of this property |
static Packet.Property |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Packet.Property[] |
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 Packet.Property Init
public static final Packet.Property Included
public static final Packet.Property Original
public static final Packet.Property Seconds
public static final Packet.Property Nanos
public static final Packet.Property Timestamp
Timestamp.class.
public static final Packet.Property SourceAddress
public static final Packet.Property DestinationAddress
public static final Packet.Property SourcePort
public static final Packet.Property DestinationPort
public static final Packet.Property FlowKey
Flow key associated with this packet.
TODO: Change the Object.class to FlowKey class when implemented
public static final Packet.Property Index
public static final Packet.Property LongSummary
public static final Packet.Property ShortSummary
| Method Detail |
|---|
public static final Packet.Property[] values()
for(Packet.Property c : Packet.Property.values())
System.out.println(c);
public static Packet.Property 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 java.lang.Class<?> getValueType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||