Public Member Functions | List of all members
grpc_core::ServiceConfig Class Referenceabstract

#include <service_config.h>

Inheritance diagram for grpc_core::ServiceConfig:
Inheritance graph
[legend]

Public Member Functions

virtual ServiceConfigParser::ParsedConfigGetGlobalParsedConfig (size_t index)=0
 
virtual const ServiceConfigParser::ParsedConfigVectorGetMethodParsedConfigVector (const grpc_slice &path) const =0
 
virtual absl::string_view json_string () const =0
 
- Public Member Functions inherited from grpc_core::RefCounted< ServiceConfig >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< ServiceConfigRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ServiceConfigRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< ServiceConfigRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ServiceConfigRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< ServiceConfig >
using RefCountedChildType = ServiceConfig
 
- Protected Member Functions inherited from grpc_core::RefCounted< ServiceConfig >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 59 of file service_config.h.

Member Function Documentation

◆ GetGlobalParsedConfig()

virtual ServiceConfigParser::ParsedConfig* grpc_core::ServiceConfig::GetGlobalParsedConfig ( size_t  index)
pure virtual

Retrieves the global parsed config at index index. The lifetime of the returned object is tied to the lifetime of the ServiceConfig object.

Implemented in grpc_core::ServiceConfigImpl.

◆ GetMethodParsedConfigVector()

virtual const ServiceConfigParser::ParsedConfigVector* grpc_core::ServiceConfig::GetMethodParsedConfigVector ( const grpc_slice path) const
pure virtual

Retrieves the vector of parsed configs for the method identified by path. The lifetime of the returned vector and contained objects is tied to the lifetime of the ServiceConfig object.

Implemented in grpc_core::ServiceConfigImpl.

◆ json_string()

virtual absl::string_view grpc_core::ServiceConfig::json_string ( ) const
pure virtual

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


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