GRPC Core  18.0.0
Public Member Functions
grpc_core::ServiceConfigCallData Class Reference

When a service config is applied to a call in the client_channel_filter, we create an instance of this object on the arena. More...

#include <service_config_call_data.h>

Public Member Functions

 ServiceConfigCallData (RefCountedPtr< ServiceConfig > service_config, const ServiceConfigParser::ParsedConfigVector *method_configs, std::map< const char *, absl::string_view > call_attributes, grpc_call_context_element *call_context)
 
 ServiceConfigCallData (RefCountedPtr< ServiceConfig > service_config, const ServiceConfigParser::ParsedConfigVector *method_configs, grpc_call_context_element *call_context)
 
ServiceConfigservice_config ()
 
ServiceConfigParser::ParsedConfigGetMethodParsedConfig (size_t index) const
 
ServiceConfigParser::ParsedConfigGetGlobalParsedConfig (size_t index) const
 
const std::map< const char *, absl::string_view > & call_attributes () const
 

Detailed Description

When a service config is applied to a call in the client_channel_filter, we create an instance of this object on the arena.

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

◆ ServiceConfigCallData() [1/2]

grpc_core::ServiceConfigCallData::ServiceConfigCallData ( RefCountedPtr< ServiceConfig service_config,
const ServiceConfigParser::ParsedConfigVector method_configs,
std::map< const char *, absl::string_view >  call_attributes,
grpc_call_context_element call_context 
)
inline

◆ ServiceConfigCallData() [2/2]

grpc_core::ServiceConfigCallData::ServiceConfigCallData ( RefCountedPtr< ServiceConfig service_config,
const ServiceConfigParser::ParsedConfigVector method_configs,
grpc_call_context_element call_context 
)
inline

Member Function Documentation

◆ call_attributes()

const std::map<const char*, absl::string_view>& grpc_core::ServiceConfigCallData::call_attributes ( ) const
inline

◆ GetGlobalParsedConfig()

ServiceConfigParser::ParsedConfig* grpc_core::ServiceConfigCallData::GetGlobalParsedConfig ( size_t  index) const
inline

◆ GetMethodParsedConfig()

ServiceConfigParser::ParsedConfig* grpc_core::ServiceConfigCallData::GetMethodParsedConfig ( size_t  index) const
inline

◆ service_config()

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

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