org.jnetstream.capture.file.pcap
Interface PcapPacketRecord
- All Superinterfaces:
- DataRecord, PcapRecord, Record, com.slytechs.utils.collection.Validatable
public interface PcapPacketRecord
- extends DataRecord, PcapRecord
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from interface com.slytechs.utils.collection.Validatable |
isValid |
| Methods inherited from interface com.slytechs.utils.collection.Validatable |
isValid |
FILTER
static final Filter<RecordFilterTarget> FILTER
- Predefined filter that accepts only Packet record types. All other
types of records are filtered out.
HEADER_LENGTH
static final int HEADER_LENGTH
- See Also:
- Constant Field Values
MAX_INCLUDED
static final int MAX_INCLUDED
- See Also:
- Constant Field Values
MAX_MICRO
static final int MAX_MICRO
- See Also:
- Constant Field Values
MAX_ORIGINAL
static final int MAX_ORIGINAL
- See Also:
- Constant Field Values
MIN_INCLUDED
static final int MIN_INCLUDED
- See Also:
- Constant Field Values
MIN_MICRO
static final int MIN_MICRO
- See Also:
- Constant Field Values
MIN_ORIGINAL
static final int MIN_ORIGINAL
- See Also:
- Constant Field Values
pattern
static final SeekPattern pattern
getIncludedLength
long getIncludedLength()
throws java.io.IOException
- Throws:
java.io.IOException
getMicroseconds
long getMicroseconds()
throws java.io.IOException
- Throws:
java.io.IOException
getOriginalLength
long getOriginalLength()
throws java.io.IOException
- Throws:
java.io.IOException
getSeconds
long getSeconds()
throws java.io.IOException
- Throws:
java.io.IOException
setIncludedLength
void setIncludedLength(int snaplen)
throws java.io.IOException
- Throws:
java.io.IOException
setMicroseconds
void setMicroseconds(long micros)
throws java.io.IOException
- Throws:
java.io.IOException
setOrignalLength
void setOrignalLength(int length)
throws java.io.IOException
- Throws:
java.io.IOException
setSeconds
void setSeconds(long seconds)
throws java.io.IOException
- Throws:
java.io.IOException