org.jnetstream.capture.file.snoop
Interface SnoopPacketRecord
- All Superinterfaces:
- DataRecord, Record, SnoopRecord, com.slytechs.utils.collection.Validatable
public interface SnoopPacketRecord
- extends DataRecord, SnoopRecord
- 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 |
FIELD_MAX_DROPS
static final int FIELD_MAX_DROPS
- See Also:
- Constant Field Values
FIELD_MAX_INCLUDED
static final int FIELD_MAX_INCLUDED
- See Also:
- Constant Field Values
FIELD_MAX_MICROS
static final int FIELD_MAX_MICROS
- See Also:
- Constant Field Values
FIELD_MAX_ORIGINAL
static final int FIELD_MAX_ORIGINAL
- See Also:
- Constant Field Values
FIELD_MAX_RECORD
static final int FIELD_MAX_RECORD
- See Also:
- Constant Field Values
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
pattern
static final SeekPattern pattern
- Defines a search pattern for SNOOP packet record header. The buffer is at
current ByteBuffer.position() is checked against valid values for all
fields until all header fields pass their acceptable values.
getDrops
int getDrops()
throws java.io.IOException
- Throws:
java.io.IOException
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
setDrops
void setDrops(int drops)
throws java.io.IOException
- Throws:
java.io.IOException
setIncludedLength
void setIncludedLength(int length)
throws java.io.IOException
- Throws:
java.io.IOException
setMicroseconds
void setMicroseconds(long micros)
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
setSeconds
void setSeconds(long seconds)
throws java.io.IOException
- Throws:
java.io.IOException