ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::socket::TcpClientLinkSharedTx Class Reference

A link whose outgoing buffer belongs to its owner, so several links can share one. More...

#include <tcp_client_link.h>

Inheritance diagram for esphome::socket::TcpClientLinkSharedTx:
esphome::socket::TcpClientLinkBase

Public Member Functions

size_t queue (uint8_t *tx, const uint8_t *data, size_t len)
 
bool flush_tx (uint8_t *tx)
 

Additional Inherited Members

Detailed Description

A link whose outgoing buffer belongs to its owner, so several links can share one.

tx holds TX_BUFFER_SIZE bytes. Only one link may hold bytes in it: the owner queues to another only after flush_tx() emptied the last.

Definition at line 130 of file tcp_client_link.h.

Member Function Documentation

◆ flush_tx()

bool esphome::socket::TcpClientLinkSharedTx::flush_tx ( uint8_t * tx)
inline

Definition at line 133 of file tcp_client_link.h.

◆ queue()

size_t esphome::socket::TcpClientLinkSharedTx::queue ( uint8_t * tx,
const uint8_t * data,
size_t len )
inline

Definition at line 132 of file tcp_client_link.h.


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