jnetpcap.capture.file.nap
Interface NAPPacket

All Superinterfaces:
DataRecord, Record

public interface NAPPacket
extends DataRecord

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from interface jnetpcap.capture.file.Record
Record.Capability, Record.RecordType
 
Method Summary
 long getCaptureNanos()
           
 long getCaptureSeconds()
           
 NAPCaptureInfo getCaptureSystem()
           
 int getCaptureSystemId()
           
 java.sql.Timestamp getCaptureTimestamp()
           
 java.util.Set<NAPFlag> getFlags()
           
 int getIncludedLength()
           
 int getOriginalLength()
           
 java.nio.ByteBuffer getPacketBuffer()
           
 void setCaptureNanos()
           
 void setCaptureSeconds()
           
 void setCaptureSystem(NAPCaptureInfo captureSystem)
           
 void setCaptureSystemId(int id)
           
 void setCaptureTimestamp(java.sql.Timestamp captureTimestamp)
           
 void setFlags(java.util.Set<NAPFlag> flags)
           
 void setOriginalLength()
           
 void setPacketBuffer(java.nio.ByteBuffer buffer)
           
 
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

getCaptureSeconds

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

setCaptureSeconds

void setCaptureSeconds()
                       throws java.io.IOException
Throws:
java.io.IOException

getCaptureNanos

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

setCaptureNanos

void setCaptureNanos()
                     throws java.io.IOException
Throws:
java.io.IOException

getCaptureTimestamp

java.sql.Timestamp getCaptureTimestamp()
                                       throws java.io.IOException
Throws:
java.io.IOException

setCaptureTimestamp

void setCaptureTimestamp(java.sql.Timestamp captureTimestamp)
                         throws java.io.IOException
Throws:
java.io.IOException

getCaptureSystemId

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

setCaptureSystemId

void setCaptureSystemId(int id)
                        throws java.io.IOException
Throws:
java.io.IOException

getCaptureSystem

NAPCaptureInfo getCaptureSystem()
                                throws java.io.IOException
Throws:
java.io.IOException

setCaptureSystem

void setCaptureSystem(NAPCaptureInfo captureSystem)
                      throws java.io.IOException
Throws:
java.io.IOException

getOriginalLength

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

setOriginalLength

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

getIncludedLength

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

getPacketBuffer

java.nio.ByteBuffer getPacketBuffer()
                                    throws java.io.IOException
Throws:
java.io.IOException

setPacketBuffer

void setPacketBuffer(java.nio.ByteBuffer buffer)
                     throws java.io.IOException
Throws:
java.io.IOException

getFlags

java.util.Set<NAPFlag> getFlags()
                                throws java.io.IOException
Throws:
java.io.IOException

setFlags

void setFlags(java.util.Set<NAPFlag> flags)
              throws java.io.IOException
Throws:
java.io.IOException