jnetpcap.capture.file.nap
Interface NAPPacket
- All Superinterfaces:
- DataRecord, Record
public interface NAPPacket
- extends DataRecord
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from interface jnetpcap.capture.file.Record |
getCaptureFile, getFilePosition, getHeaderBuffer, getHeaderLength, getRecordLength, getRecordType, isModified, isWritten, read, readHeader, setFilePosition, setModified, setWritten, validateRecord, write, writeHeader |
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