ESPHome  2025.3.3
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
esphome::api::DeferredMessageQueue Class Reference

#include <api_connection.h>

Public Member Functions

 DeferredMessageQueue (APIConnection *api_connection)
 
void process_queue ()
 
void defer (void *source, send_message_t *send_message)
 

Protected Member Functions

void dmq_push_back_with_dedup_ (void *source, send_message_t *send_message)
 

Protected Attributes

std::vector< DeferredMessagedeferred_queue_
 
APIConnectionapi_connection_
 

Detailed Description

Definition at line 27 of file api_connection.h.

Constructor & Destructor Documentation

◆ DeferredMessageQueue()

esphome::api::DeferredMessageQueue::DeferredMessageQueue ( APIConnection api_connection)
inline

Definition at line 52 of file api_connection.h.

Member Function Documentation

◆ defer()

void esphome::api::DeferredMessageQueue::defer ( void *  source,
send_message_t send_message 
)

Definition at line 57 of file api_connection.cpp.

◆ dmq_push_back_with_dedup_()

void esphome::api::DeferredMessageQueue::dmq_push_back_with_dedup_ ( void *  source,
send_message_t send_message 
)
protected

Definition at line 32 of file api_connection.cpp.

◆ process_queue()

void esphome::api::DeferredMessageQueue::process_queue ( )

Definition at line 45 of file api_connection.cpp.

Field Documentation

◆ api_connection_

APIConnection* esphome::api::DeferredMessageQueue::api_connection_
protected

Definition at line 46 of file api_connection.h.

◆ deferred_queue_

std::vector<DeferredMessage> esphome::api::DeferredMessageQueue::deferred_queue_
protected

Definition at line 45 of file api_connection.h.


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