jnetpcap.capture.file.snoop
Interface SnoopPacketRecord

All Superinterfaces:
DataRecord, Record

public interface SnoopPacketRecord
extends DataRecord

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
static class SnoopPacketRecord.HDR
           
 
Nested classes/interfaces inherited from interface jnetpcap.capture.file.Record
Record.Capability, Record.RecordType
 
Method Summary
 int getDrops()
           
 int getIncludedLength()
           
 long getMicroseconds()
           
 int getOriginalLength()
           
 long getSeconds()
           
 void setDrops(int drops)
           
 void setIncludedLength(int length)
           
 void setMicroseconds(long micros)
           
 void setOriginalLength(int length)
           
 void setRecordLength(int length)
           
 void setSeconds(long seconds)
           
 
Methods inherited from interface jnetpcap.capture.file.DataRecord
asType, getDataBuffer, getDataLength, getParent, readData, setDataBuffer, writeData
 
Methods inherited from interface jnetpcap.capture.file.Record
getCaptureFile, getFilePosition, getHeaderBuffer, getHeaderLength, getRecordLength, getRecordType, isModified, isWritten, read, readHeader, setFilePosition, setModified, setWritten, validateRecord, write, writeHeader
 

Method Detail

getIncludedLength

int getIncludedLength()
                      throws java.io.IOException
Throws:
java.io.IOException

setIncludedLength

void setIncludedLength(int length)
                       throws java.io.IOException
Throws:
java.io.IOException

getOriginalLength

int getOriginalLength()
                      throws java.io.IOException
Throws:
java.io.IOException

setOriginalLength

void setOriginalLength(int length)
                       throws java.io.IOException
Throws:
java.io.IOException

setRecordLength

void setRecordLength(int length)
                     throws java.io.IOException
Throws:
java.io.IOException

getDrops

int getDrops()
             throws java.io.IOException
Throws:
java.io.IOException

setDrops

void setDrops(int drops)
              throws java.io.IOException
Throws:
java.io.IOException

getSeconds

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

setSeconds

void setSeconds(long seconds)
                throws java.io.IOException
Throws:
java.io.IOException

getMicroseconds

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

setMicroseconds

void setMicroseconds(long micros)
                     throws java.io.IOException
Throws:
java.io.IOException