byteblowerll.byteblower.TriggerBasicResultData

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

Receive-side trigger result set.

The result set contains the trigger information of since the object is created
or refreshed.

Note

See What’s new in API v2 for more information.

A basic trigger result data snapshot object can be created via a TriggerBasicResultHistory, using TriggerBasic.ResultHistoryGet()

Note

The information is not updated until TriggerBasicResultHistory.Refresh() is called

Example

Receive all frames on “trunk-1-2” of some server, matching UDP source or destination port 67.

 port = bbServer.PortCreate('trunk-1-2')
 trigger = port.RxTriggerBasicAdd()
 bpf_filter = 'udp port 67'
   trigger.FilterSet(bpf_filter)
 historyResult = trigger.ResultHistoryGet()
 resultData = historyResult.CumulativeLatestGet()
__init__(*args, **kwargs)

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

Methods

ByteCountGet() Gets the current received bytes counter.
DescriptionGet(*args) Gets a textual description for the current object
FramesizeMaximumGet() Gets the size (in bytes) of the largest frame received in this snapshot.
FramesizeMinimumGet() Gets the size (in bytes) of the smallest frame received in this snapshot.
IntervalDurationGet() Gets the configured duration of this results snapshot [NS].
PacketCountGet() Gets the received packet count.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
TimestampFirstGet() Gets the timestamp [NS] of the first packet in this snapshot.
TimestampGet() Gets the snapshot timestamp [NS].
TimestampLastGet() Gets the current timestamp [NS] of the last packet in this snapshot.
TypeGet()
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag