Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc_core::ChannelStackBuilder Class Referenceabstract

#include <channel_stack_builder.h>

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

Public Member Functions

void AppendFilter (const grpc_channel_filter *filter)
 
virtual absl::StatusOr< RefCountedPtr< grpc_channel_stack > > Build ()=0
 
const ChannelArgschannel_args () const
 
grpc_channel_stack_type channel_stack_type () const
 
 ChannelStackBuilder (const char *name, grpc_channel_stack_type type)
 
std::vector< const grpc_channel_filter * > * mutable_stack ()
 
const char * name () const
 
void PrependFilter (const grpc_channel_filter *filter)
 
ChannelStackBuilderSetChannelArgs (ChannelArgs args)
 
ChannelStackBuilderSetTarget (const char *target)
 
ChannelStackBuilderSetTransport (grpc_transport *transport)
 
absl::string_view target () const
 
grpc_transporttransport () const
 

Protected Member Functions

 ~ChannelStackBuilder ()
 

Static Private Member Functions

static std::string unknown_target ()
 

Private Attributes

ChannelArgs args_
 
const char *const name_
 
std::vector< const grpc_channel_filter * > stack_
 
std::string target_ {unknown_target()}
 
grpc_transporttransport_ = nullptr
 
const grpc_channel_stack_type type_
 

Detailed Description

Definition at line 41 of file channel_stack_builder.h.

Constructor & Destructor Documentation

◆ ChannelStackBuilder()

grpc_core::ChannelStackBuilder::ChannelStackBuilder ( const char *  name,
grpc_channel_stack_type  type 
)
inline

Definition at line 44 of file channel_stack_builder.h.

◆ ~ChannelStackBuilder()

grpc_core::ChannelStackBuilder::~ChannelStackBuilder ( )
protecteddefault

Member Function Documentation

◆ AppendFilter()

void grpc_core::ChannelStackBuilder::AppendFilter ( const grpc_channel_filter filter)

Definition at line 50 of file channel_stack_builder.cc.

◆ Build()

virtual absl::StatusOr<RefCountedPtr<grpc_channel_stack> > grpc_core::ChannelStackBuilder::Build ( )
pure virtual

◆ channel_args()

const ChannelArgs& grpc_core::ChannelStackBuilder::channel_args ( ) const
inline

Definition at line 69 of file channel_stack_builder.h.

◆ channel_stack_type()

grpc_channel_stack_type grpc_core::ChannelStackBuilder::channel_stack_type ( ) const
inline

Definition at line 75 of file channel_stack_builder.h.

◆ mutable_stack()

std::vector<const grpc_channel_filter*>* grpc_core::ChannelStackBuilder::mutable_stack ( )
inline

Definition at line 72 of file channel_stack_builder.h.

◆ name()

const char* grpc_core::ChannelStackBuilder::name ( ) const
inline

Definition at line 47 of file channel_stack_builder.h.

◆ PrependFilter()

void grpc_core::ChannelStackBuilder::PrependFilter ( const grpc_channel_filter filter)

Definition at line 46 of file channel_stack_builder.cc.

◆ SetChannelArgs()

ChannelStackBuilder & grpc_core::ChannelStackBuilder::SetChannelArgs ( ChannelArgs  args)

Definition at line 41 of file channel_stack_builder.cc.

◆ SetTarget()

ChannelStackBuilder & grpc_core::ChannelStackBuilder::SetTarget ( const char *  target)

Definition at line 32 of file channel_stack_builder.cc.

◆ SetTransport()

ChannelStackBuilder& grpc_core::ChannelStackBuilder::SetTransport ( grpc_transport transport)
inline

Definition at line 56 of file channel_stack_builder.h.

◆ target()

absl::string_view grpc_core::ChannelStackBuilder::target ( ) const
inline

Definition at line 53 of file channel_stack_builder.h.

◆ transport()

grpc_transport* grpc_core::ChannelStackBuilder::transport ( ) const
inline

Definition at line 63 of file channel_stack_builder.h.

◆ unknown_target()

static std::string grpc_core::ChannelStackBuilder::unknown_target ( )
inlinestaticprivate

Definition at line 94 of file channel_stack_builder.h.

Member Data Documentation

◆ args_

ChannelArgs grpc_core::ChannelStackBuilder::args_
private

Definition at line 105 of file channel_stack_builder.h.

◆ name_

const char* const grpc_core::ChannelStackBuilder::name_
private

Definition at line 97 of file channel_stack_builder.h.

◆ stack_

std::vector<const grpc_channel_filter*> grpc_core::ChannelStackBuilder::stack_
private

Definition at line 107 of file channel_stack_builder.h.

◆ target_

std::string grpc_core::ChannelStackBuilder::target_ {unknown_target()}
private

Definition at line 101 of file channel_stack_builder.h.

◆ transport_

grpc_transport* grpc_core::ChannelStackBuilder::transport_ = nullptr
private

Definition at line 103 of file channel_stack_builder.h.

◆ type_

const grpc_channel_stack_type grpc_core::ChannelStackBuilder::type_
private

Definition at line 99 of file channel_stack_builder.h.


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


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