jnetpcap.capture.file.nap
Enum NAPMetaType

java.lang.Object
  extended by java.lang.Enum<NAPMetaType>
      extended by jnetpcap.capture.file.nap.NAPMetaType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NAPMetaType>, Record.RecordType

public enum NAPMetaType
extends java.lang.Enum<NAPMetaType>
implements Record.RecordType

Defines constants for Meta Record Sub Type field.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from interface jnetpcap.capture.file.Record.RecordType
Record.RecordType.CommonRecordType
 
Enum Constant Summary
CaptureSystems
          Contains a information table about Capture Systems.
Event
          A table containing log of events that were recorded by the implementing program
Expert
          Expert analysis data from post processing and analysis of captured data.
InterfaceCounters
          Contains counter values for specified capture system.
Invalid
          Meta Record is invalid and corrupt
Properties
          Contains a table of properties for this block
ProtocolBindings
          Contains protocol binding information that can aid in decoding the Packet data.
ProtocolDefinitions
          Contains entire protocol definitions.
Routing
          Routing table information for a particular capture system.
 
Method Summary
 java.lang.String getDescription()
          Short description of this type of record.
 java.net.URI getSpec()
          Returns the URI to formal specification for this record type.
static NAPMetaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NAPMetaType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Invalid

public static final NAPMetaType Invalid
Meta Record is invalid and corrupt


Properties

public static final NAPMetaType Properties
Contains a table of properties for this block


CaptureSystems

public static final NAPMetaType CaptureSystems
Contains a information table about Capture Systems. A Capture System is an interface + system information. Local and remote Capture systems can exist capturing to the same capture file and block.


InterfaceCounters

public static final NAPMetaType InterfaceCounters
Contains counter values for specified capture system.


ProtocolBindings

public static final NAPMetaType ProtocolBindings
Contains protocol binding information that can aid in decoding the Packet data.


ProtocolDefinitions

public static final NAPMetaType ProtocolDefinitions
Contains entire protocol definitions.


Event

public static final NAPMetaType Event
A table containing log of events that were recorded by the implementing program


Routing

public static final NAPMetaType Routing
Routing table information for a particular capture system.


Expert

public static final NAPMetaType Expert
Expert analysis data from post processing and analysis of captured data.

Method Detail

values

public static final NAPMetaType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(NAPMetaType c : NAPMetaType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static NAPMetaType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getDescription

public java.lang.String getDescription()
Description copied from interface: Record.RecordType
Short description of this type of record. The description is implementation specific.

Specified by:
getDescription in interface Record.RecordType
Returns:
short description

getSpec

public java.net.URI getSpec()
Description copied from interface: Record.RecordType
Returns the URI to formal specification for this record type. Some records may be vendor specific and each vendor supply a valid URI to the formal specification for this type of record.

Specified by:
getSpec in interface Record.RecordType
Returns:
Returns the spec.