class byteblowerll.byteblower.CaptureResultSnapshot(*args, **kwargs)

This class represents the result of a CaptureRawpacket.

It contains the metrics and the frames that are captured. To get an update of the values use ::Refresh.


captureRaw = bbPort2.RxCaptureBasicAdd()
captureRaw.FilterSet('ip dst')
resultSnapshot = captureRaw.ResultGet()
__init__(*args, **kwargs)


ByteCountGet() Returns the number of bytes captured.
CaptureDurationGet() Returns the duration of the capture.
Clear() Clears the counters and deletes the captured packets from the capture.
DescriptionGet(*args) Gets a textual description for the current object
ErrorCountGet() Returns Error count.
FramesGet() Returns a list of CapturedFrameList.
FramesGetByIndex(index) Returns a Rx.Capture.Frame at the provided index.
PacketCountGet() Returns the number of packets captured.
ParentGet() Returns the parent object.
PcapLastFileNameGet() The fileName where the last pcap was saved to.
PcapNanoSave(filename) Stores the captured frames into a pcap file.
PcapSave(filename) Stores the captured frames into a pcap file.
Refresh() Retrieves the latest data from the server for this object.
RefreshTimestampGet() Returns the timestamp when the counters of this object where last refreshed.
StateNameGet() Returns the status of the current capture.
__init__(*args, **kwargs)