jnetpcap.capture
Interface FilePacket

All Superinterfaces:
CapturePacket

public interface FilePacket
extends CapturePacket

A file based packet. The interface adds one important method to allow retrieval of packet record position within the capture file.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 long getFilePosition()
           
 
Methods inherited from interface jnetpcap.capture.CapturePacket
allocatePacketBuffer, getCaptureInterface, getIncludedPacketLength, getOriginalPacketLength, getPacketBuffer, getTimestamp, getTimestampNanos, getTimestampSeconds, setCaptureInterface, setOriginalPacketLength, setPacketBuffer, setTimestamp, setTimestamp
 

Method Detail

getFilePosition

long getFilePosition()
                     throws java.io.IOException
Throws:
java.io.IOException