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

Quick Search    Search Deep

Misc
Class PcapFileCreator  view PcapFileCreator download PcapFileCreator.java

java.lang.Object
  extended byMisc.PcapFileCreator

public class PcapFileCreator
extends java.lang.Object


Constructor Summary
PcapFileCreator(java.io.BufferedOutputStream out, java.util.Vector pkts)
          Creates a new instance of PcapFileCreator
 
Method Summary
static PacketF.Packet createNackPacket()
          auxiliary method to create alleatory nack packets
 byte[] getPcapHeader()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PcapFileCreator

public PcapFileCreator(java.io.BufferedOutputStream out,
                       java.util.Vector pkts)
                throws java.io.IOException
Creates a new instance of PcapFileCreator

Method Detail

getPcapHeader

public byte[] getPcapHeader()
                     throws java.io.IOException

createNackPacket

public static PacketF.Packet createNackPacket()
auxiliary method to create alleatory nack packets


main

public static void main(java.lang.String[] args)