Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | List of all members
InterfaceToolbarReader Class Reference

A reader thread component that listens to a control pipe for incoming messages from an interface. More...

#include <interface_toolbar_reader.h>

Inheritance diagram for InterfaceToolbarReader:

Public Slots

void loop ()
 The main polling loop that continuously reads from the control pipe.
 

Signals

void received (QString ifname, int num, int command, QByteArray payload)
 Signal emitted when a complete control message is successfully read.
 
void finished ()
 Signal emitted when the reader loop finishes or terminates.
 

Public Member Functions

 InterfaceToolbarReader (QString ifname, void *control_in, QObject *parent=0)
 Constructs a new InterfaceToolbarReader.
 

Detailed Description

A reader thread component that listens to a control pipe for incoming messages from an interface.

Constructor & Destructor Documentation

◆ InterfaceToolbarReader()

InterfaceToolbarReader::InterfaceToolbarReader ( QString  ifname,
void *  control_in,
QObject *  parent = 0 
)
inline

Constructs a new InterfaceToolbarReader.

Parameters
ifnameThe name of the interface being monitored.
control_inThe operating-system-specific handle or path for the input control pipe.
parentThe parent QObject, defaults to 0.

Member Function Documentation

◆ received

void InterfaceToolbarReader::received ( QString  ifname,
int  num,
int  command,
QByteArray  payload 
)
signal

Signal emitted when a complete control message is successfully read.

Parameters
ifnameThe name of the interface that sent the message.
numThe control number.
commandThe command type.
payloadThe raw byte array payload of the message.

The documentation for this class was generated from the following files: