net.sourceforge.jpcap.net
Class PacketFactory

java.lang.Object
  extended bynet.sourceforge.jpcap.net.PacketFactory

public class PacketFactory
extends java.lang.Object

This factory constructs high-level packet objects from captured data streams.


Constructor Summary
PacketFactory()
           
 
Method Summary
static Packet dataToPacket(int linkType, byte[] bytes)
          Convert captured packet data into an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketFactory

public PacketFactory()
Method Detail

dataToPacket

public static Packet dataToPacket(int linkType,
                                  byte[] bytes)
Convert captured packet data into an object.