byteblowerll.byteblower.ByteBlowerPortResultHistory¶
-
class
byteblowerll.byteblower.
ByteBlowerPortResultHistory
(*args, **kwargs)¶ Port counter result history.
The port counter history is - as always - available in two flavors: the cumulative and the interval results
Note
The information is not updated until
Refresh()
is calledNote
See History result for more information.
A result history object can be created via a ByteBlowerPort, using
ByteBlowerPort.ResultHistoryGet()
Example
Receive all frames on “trunk-1-2” of some server, matching UDP source or destination port 67.
port_resultHistory = port.ResultHistoryGet()
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
Clear
()Removes the locally stored history snapshots. CumulativeGet
()Returns a list of available cumulative counters. CumulativeGetByIndex
(index)Returns a single item of the cumulative list. CumulativeGetByTime
(timestamp)Returns a single item of the cumulative list using a timestamp nanoseconds. CumulativeLatestGet
()Returns latest closed item of the cumulative list. CumulativeLengthGet
()Returns the size of the cumulative list. DescriptionGet
(*args)Gets a textual description for the current object IntervalGet
()Returns a list of available interval counters. IntervalGetByIndex
(index)Returns a single item of the interval list. IntervalGetByTime
(timestamp)Returns a single item of the interval list using a timestamp in nanoseconds. IntervalLatestGet
()Returns the latest closed item of the interval list. IntervalLengthGet
()Returns the size of the interval list. ParentGet
()Returns the parent object. Refresh
()Retrieves the latest data from the server for this object. RefreshTimestampGet
()Returns the timestamp on the server when the current history is requested. SamplingBufferLengthGet
()Number of samples to keep in the buffer. SamplingBufferLengthSet
(inCount)Sets the number of samples to keep in the buffer. SamplingIntervalDurationGet
()Duration of one sampling interval in nanoseconds. SamplingIntervalDurationSet
(inDuration)Sets the duration of one sampling interval. __init__
(*args, **kwargs)Initialize self. Attributes
thisown
The membership flag -