Package com.voytechs.jnetstream.codec

Coder/Decoder for processing packet input streams.

See:
          Description

Interface Summary
Field Field contains data read from the capture file or stream.
Flow A flow is defined as a channel or connection between two or multiple endpoints.
Header A header class that was decoded from a captured packet.
Identity Pure interface which allows an subclass to have Identity such as a name and some properties associated with the Identity.
MutableField public interface for setting values of the "header" field.
MutableHeader  
MutablePacket  
Note  
Packet A decoded representation of a network packet.

A Packet is made up of headers and properties.
 

Class Summary
Decoder Decoder is the main interpreter for NPL.
FieldImpl  
FlowAddress  
FlowDecoder Flow decoder is used to group packets into flows.
FlowImpl Implementing class for Flow interface.
FlowKey A flow key a set of values that either match a packet or not to a flow.
FlowList A special purpose container that contains a list of Flows.
HeaderImpl Note: The HeaderImpl class * is usually hidden from the user and the default public JNetStream access interfaces.
Linker Linker for NPL AST tree.
NoteImpl  
PacketImpl Note: The PacketImpl class * is usually hidden from the user and the default public JNetStream access interfaces.
PlaybackDecoder  
 

Package com.voytechs.jnetstream.codec Description

Coder/Decoder for processing packet input streams. This package processes packet input streams and generates as output Packet objects.

Typical usage is as follows:

Docoder decoder = new Decoder("myCaptureFile.pcap"); // Or snoop. Can be gzipped.
Packet packet = null;
while( (packet = decoder.nextPacket()) != null) {
        System.out.println(packet.toString());
}

This will generate output similar to tethereal or snoop . A number of other functions are possible with this package.