Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grpc_core::chttp2::FlowControlAction Class Reference

#include <flow_control.h>

Public Types

enum  Urgency : uint8_t { Urgency::NO_ACTION_NEEDED = 0, Urgency::UPDATE_IMMEDIATELY, Urgency::QUEUE_UPDATE }
 

Public Member Functions

void AssertEmpty ()
 
std::string DebugString () const
 
uint32_t initial_window_size () const
 
uint32_t max_frame_size () const
 
bool operator== (const FlowControlAction &other) const
 
Urgency send_initial_window_update () const
 
Urgency send_max_frame_size_update () const
 
Urgency send_stream_update () const
 
Urgency send_transport_update () const
 
FlowControlActionset_send_initial_window_update (Urgency u, uint32_t update)
 
FlowControlActionset_send_max_frame_size_update (Urgency u, uint32_t update)
 
FlowControlActionset_send_stream_update (Urgency u)
 
FlowControlActionset_send_transport_update (Urgency u)
 

Static Public Member Functions

static const char * UrgencyString (Urgency u)
 

Private Attributes

uint32_t initial_window_size_ = 0
 
uint32_t max_frame_size_ = 0
 
Urgency send_initial_window_update_ = Urgency::NO_ACTION_NEEDED
 
Urgency send_max_frame_size_update_ = Urgency::NO_ACTION_NEEDED
 
Urgency send_stream_update_ = Urgency::NO_ACTION_NEEDED
 
Urgency send_transport_update_ = Urgency::NO_ACTION_NEEDED
 

Detailed Description

Definition at line 71 of file flow_control.h.

Member Enumeration Documentation

◆ Urgency

Enumerator
NO_ACTION_NEEDED 
UPDATE_IMMEDIATELY 
QUEUE_UPDATE 

Definition at line 73 of file flow_control.h.

Member Function Documentation

◆ AssertEmpty()

void grpc_core::chttp2::FlowControlAction::AssertEmpty ( )
inline

Definition at line 118 of file flow_control.h.

◆ DebugString()

std::string grpc_core::chttp2::FlowControlAction::DebugString ( ) const

Definition at line 74 of file flow_control.cc.

◆ initial_window_size()

uint32_t grpc_core::chttp2::FlowControlAction::initial_window_size ( ) const
inline

Definition at line 91 of file flow_control.h.

◆ max_frame_size()

uint32_t grpc_core::chttp2::FlowControlAction::max_frame_size ( ) const
inline

Definition at line 92 of file flow_control.h.

◆ operator==()

bool grpc_core::chttp2::FlowControlAction::operator== ( const FlowControlAction other) const
inline

Definition at line 120 of file flow_control.h.

◆ send_initial_window_update()

Urgency grpc_core::chttp2::FlowControlAction::send_initial_window_update ( ) const
inline

Definition at line 85 of file flow_control.h.

◆ send_max_frame_size_update()

Urgency grpc_core::chttp2::FlowControlAction::send_max_frame_size_update ( ) const
inline

Definition at line 88 of file flow_control.h.

◆ send_stream_update()

Urgency grpc_core::chttp2::FlowControlAction::send_stream_update ( ) const
inline

Definition at line 83 of file flow_control.h.

◆ send_transport_update()

Urgency grpc_core::chttp2::FlowControlAction::send_transport_update ( ) const
inline

Definition at line 84 of file flow_control.h.

◆ set_send_initial_window_update()

FlowControlAction& grpc_core::chttp2::FlowControlAction::set_send_initial_window_update ( Urgency  u,
uint32_t  update 
)
inline

Definition at line 102 of file flow_control.h.

◆ set_send_max_frame_size_update()

FlowControlAction& grpc_core::chttp2::FlowControlAction::set_send_max_frame_size_update ( Urgency  u,
uint32_t  update 
)
inline

Definition at line 108 of file flow_control.h.

◆ set_send_stream_update()

FlowControlAction& grpc_core::chttp2::FlowControlAction::set_send_stream_update ( Urgency  u)
inline

Definition at line 94 of file flow_control.h.

◆ set_send_transport_update()

FlowControlAction& grpc_core::chttp2::FlowControlAction::set_send_transport_update ( Urgency  u)
inline

Definition at line 98 of file flow_control.h.

◆ UrgencyString()

const char * grpc_core::chttp2::FlowControlAction::UrgencyString ( Urgency  u)
static

Definition at line 56 of file flow_control.cc.

Member Data Documentation

◆ initial_window_size_

uint32_t grpc_core::chttp2::FlowControlAction::initial_window_size_ = 0
private

Definition at line 136 of file flow_control.h.

◆ max_frame_size_

uint32_t grpc_core::chttp2::FlowControlAction::max_frame_size_ = 0
private

Definition at line 137 of file flow_control.h.

◆ send_initial_window_update_

Urgency grpc_core::chttp2::FlowControlAction::send_initial_window_update_ = Urgency::NO_ACTION_NEEDED
private

Definition at line 134 of file flow_control.h.

◆ send_max_frame_size_update_

Urgency grpc_core::chttp2::FlowControlAction::send_max_frame_size_update_ = Urgency::NO_ACTION_NEEDED
private

Definition at line 135 of file flow_control.h.

◆ send_stream_update_

Urgency grpc_core::chttp2::FlowControlAction::send_stream_update_ = Urgency::NO_ACTION_NEEDED
private

Definition at line 132 of file flow_control.h.

◆ send_transport_update_

Urgency grpc_core::chttp2::FlowControlAction::send_transport_update_ = Urgency::NO_ACTION_NEEDED
private

Definition at line 133 of file flow_control.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38