GRPC Core  9.0.0
Public Member Functions
grpc_core::ServiceConfig::CallData Class Reference

When a service config is applied to a call in the client_channel_filter, we create an instance of this object and store it in the call_data for client_channel. More...

#include <service_config.h>

Public Member Functions

 CallData ()=default
 
 CallData (RefCountedPtr< ServiceConfig > svc_cfg, const grpc_slice &path)
 
ServiceConfigservice_config ()
 
ParsedConfigGetMethodParsedConfig (size_t index) const
 
ParsedConfigGetGlobalParsedConfig (size_t index) const
 

Detailed Description

When a service config is applied to a call in the client_channel_filter, we create an instance of this object and store it in the call_data for client_channel.

A pointer to this object is also stored in the call_context, so that future filters can easily access method and global parameters for the call.

Constructor & Destructor Documentation

◆ CallData() [1/2]

grpc_core::ServiceConfig::CallData::CallData ( )
default

◆ CallData() [2/2]

grpc_core::ServiceConfig::CallData::CallData ( RefCountedPtr< ServiceConfig svc_cfg,
const grpc_slice path 
)
inline

Member Function Documentation

◆ GetGlobalParsedConfig()

ParsedConfig* grpc_core::ServiceConfig::CallData::GetGlobalParsedConfig ( size_t  index) const
inline

◆ GetMethodParsedConfig()

ParsedConfig* grpc_core::ServiceConfig::CallData::GetMethodParsedConfig ( size_t  index) const
inline

◆ service_config()

ServiceConfig* grpc_core::ServiceConfig::CallData::service_config ( )
inline

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