jnetpcap.capture
Interface DeserializedPacket
- All Superinterfaces:
- CapturePacket
public interface DeserializedPacket
- extends CapturePacket
A packet that was sent accross a stream. It was serialized and deserialized and
sent using standard java.io Input and Output stream mechanism. The SerialPacket interface
adds methods which provide more information about the transit across the stream
process. Main methods of interest at the getSerializedTimestamp() and
getDeserializedTimestamp() which allow one to calculate the transit time
of the packet accross the stream. Care must be taken and the clocks of both sender
receiver must by synchronized or accounted for. The exact sychronization mechanism is beyond
the scope of this API.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from interface jnetpcap.capture.CapturePacket |
allocatePacketBuffer, getCaptureInterface, getIncludedPacketLength, getOriginalPacketLength, getPacketBuffer, getTimestamp, getTimestampNanos, getTimestampSeconds, setCaptureInterface, setOriginalPacketLength, setPacketBuffer, setTimestamp, setTimestamp |
getDeserializedTimestamp
java.sql.Timestamp getDeserializedTimestamp()
- Returns:
getSerializedTimestamp
java.sql.Timestamp getSerializedTimestamp()
- Returns: