byteblowerll.byteblower.TCPResultHistory

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

Interface that allows you to obtain the cumulative and interval result data objects regarding TCP stats.

At fixed time intervals, ByteBlower takes Interval and Cumulative stats of the TCP session. Only a fixed number of stats ( use SamplingBufferLengthGet() to know how many ) are kept in memory at the ByteBlower server. Using the Refresh() method those stats are transfered to the client pc where they are stored until you clear them ( Clear() ).

The interval duration of such a historyObject can be obtained using SamplingIntervalDurationGet()

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

Clear() Clears the history.
CumulativeGet() Returns a list of recent TCP result objects containing cumulative counters.
CumulativeGetByIndex(index) Returns a list of recent TCP result objects containing cumulative counters.
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 a list of recent TCP result objects containing cumulative counters.
DescriptionGet(*args) Gets a textual description for the current object
IntervalGet() Returns a list of recent TCP result objects containing interval counters.
IntervalGetByIndex(index) Returns a list of recent TCP result objects containing interval counters.
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 a list of recent TCP result objects containing interval counters.
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 at server-side.
SamplingBufferLengthSet(inLength) 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