public final class PcapDumper extends Object
public boolean isOpen()
public void dump(Packet packet) throws NotOpenException
packet
- NotOpenException
public void dump(Packet packet, long timestampSec, int timestampMicros) throws NotOpenException
packet
- timestampSec
- timestampMicros
- NotOpenException
public void flush() throws PcapNativeException, NotOpenException
PcapNativeException
NotOpenException
public long ftell() throws PcapNativeException, NotOpenException
PcapNativeException
NotOpenException
public void close()
Copyright © 2014. All Rights Reserved.