dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Pcapng::Worker::QueueData Struct Reference

One capture item describing a message event and its context. More...

#include <dfx-pcapng/Worker.hpp>

Collaboration diagram for dfx::Pcapng::Worker::QueueData:
[legend]

Public Attributes

Core::MessagePtr message
 Message payload.
Utils::UUID uuid {}
 Identifier used to correlate and track pending items.
std::string nodeName
 Human-readable node name.
Core::Node::Id nodeId = 0
 Stable node id.
std::string portName
 Human-readable port name.
Core::Port::Id portId = 0
 Stable port id.
Core::Port::Mode portMode
 Input vs output.
uint32_t counter = 1
 Worker-internal counter (tracking/aggregation).
uint8_t timeoutCounter = 10
 Expiration counter, in 100ms units (10 => ~1s).

Detailed Description

One capture item describing a message event and its context.

This is the unit of work pushed from Capture hooks into the worker. It includes the message plus enough node/port metadata to encode meaningful PCAPNG blocks.

Note
The exact semantics of counter and timeoutCounter are worker-internal: they exist to support tracking/aggregation and expiration of pending items.

Member Data Documentation

◆ counter

uint32_t dfx::Pcapng::Worker::QueueData::counter = 1

Worker-internal counter (tracking/aggregation).

◆ message

Core::MessagePtr dfx::Pcapng::Worker::QueueData::message

Message payload.

◆ nodeId

Core::Node::Id dfx::Pcapng::Worker::QueueData::nodeId = 0

Stable node id.

◆ nodeName

std::string dfx::Pcapng::Worker::QueueData::nodeName

Human-readable node name.

◆ portId

Core::Port::Id dfx::Pcapng::Worker::QueueData::portId = 0

Stable port id.

◆ portMode

Core::Port::Mode dfx::Pcapng::Worker::QueueData::portMode

Input vs output.

◆ portName

std::string dfx::Pcapng::Worker::QueueData::portName

Human-readable port name.

◆ timeoutCounter

uint8_t dfx::Pcapng::Worker::QueueData::timeoutCounter = 10

Expiration counter, in 100ms units (10 => ~1s).

◆ uuid

Utils::UUID dfx::Pcapng::Worker::QueueData::uuid {}

Identifier used to correlate and track pending items.


The documentation for this struct was generated from the following file: