Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.jnetstream.codec
Class FilterDecoder  view FilterDecoder download FilterDecoder.java

java.lang.Object
  extended bycom.voytechs.jnetstream.npl.Visitor
      extended bycom.voytechs.jnetstream.codec.Decoder
          extended bycom.voytechs.jnetstream.codec.FilterDecoder

public class FilterDecoder
extends Decoder

Decoder which allows filtering on packets as they are proccessed. Appropriate filters can be defined and are immediately applied and checked as packet input stream is being decoded. Minimum amount of data is decoded until a filter hit is achieved. Appropriate permit or deny action is taken. In deny case, the packet processing is stopped with no further processing.


Field Summary
private static boolean debug
           
 
Fields inherited from class com.voytechs.jnetstream.codec.Decoder
DEBUG_DEFAULT, DEBUG_STREAM, FILE_FORMATS, PROTOCOL_PATH
 
Constructor Summary
FilterDecoder(java.lang.String captureFile)
           
 
Method Summary
static void main(java.lang.String[] args)
          Test function for FilterDecoder
 
Methods inherited from class com.voytechs.jnetstream.codec.Decoder
exportGlobalProperties, exportPacketProperties, link, lookupTopLevelHeader, nextPacket, nextPacketWithEOP, openCaptureFile, openFile, parse, parse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, updateProperty, updateProperty, updateProperty, updateProperty, updateProperty
 
Methods inherited from class com.voytechs.jnetstream.npl.Visitor
traverse, traverse, traverse, traverse, traverse, traverse, traverse, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

private static final boolean debug
See Also:
Constant Field Values
Constructor Detail

FilterDecoder

public FilterDecoder(java.lang.String captureFile)
              throws java.io.FileNotFoundException,
                     java.io.IOException,
                     com.voytechs.jnetstream.npl.SyntaxError
Method Detail

main

public static void main(java.lang.String[] args)
Test function for FilterDecoder