jnetpcap.capture
Interface CapturePacketInput
- All Known Implementing Classes:
- CaptureInputStream
public interface CapturePacketInput
CapturePacketInput interface reads CapturePacket objects from underlying
storage or stream which is defined by the class implementing this interface.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
readPacket
DeserializedPacket readPacket()
throws java.io.IOException
- Read and return a StreamPacket object. The class that implements this interface
defines where the object is "read" from.
- Returns:
- the CapturePacket object read from storage or stream
- Throws:
java.io.IOException - if any of the usual InputOutput related exceptions occur