|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PcapPacket
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.packet.Packet |
|---|
Packet.Property |
| Method Summary | |
|---|---|
void |
setTimestampMicros(int micros)
Sets the capture timestamp fraction of a second in micros within the Pcap packet record header. |
void |
setTimestampSeconds(long seconds)
Sets the capture timestamp seconds field within the Pcap packet record header. |
| Methods inherited from interface org.jnetstream.capture.FilePacket |
|---|
getPositionGlobal, getPositionLocal, getPositionRegional |
| Methods inherited from interface org.jnetstream.capture.CapturePacket |
|---|
getCaptureDevice, getIncludedLength, getOriginalLength |
| Methods inherited from interface org.jnetstream.packet.Packet |
|---|
format, getAllHeaders, getBuffer, getData, getHeader, getHeader, getHeaderCount, getProperty, getTimestampNanos, getTimestampSeconds, hasCompleteHeader, hasCompleteHeader, hasHeader, hasHeader, isTruncated, iterator |
| Method Detail |
|---|
void setTimestampSeconds(long seconds)
throws java.io.IOException
seconds - timestamp in seconds
java.io.IOException - any IO errros
void setTimestampMicros(int micros)
throws java.io.IOException
micros - fraction of a second in microsecond with valid value of 0 and
999,999 inclusive.
java.io.IOException - any IO errors
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||