Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
core
lib
channel
channel_stack_builder_impl.h
Go to the documentation of this file.
1
// Copyright 2016 gRPC authors.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef GRPC_CORE_LIB_CHANNEL_CHANNEL_STACK_BUILDER_IMPL_H
16
#define GRPC_CORE_LIB_CHANNEL_CHANNEL_STACK_BUILDER_IMPL_H
17
18
#include <
grpc/support/port_platform.h
>
19
20
#include "absl/status/statusor.h"
21
22
#include "
src/core/lib/channel/channel_fwd.h
"
23
#include "
src/core/lib/channel/channel_stack_builder.h
"
24
#include "
src/core/lib/gprpp/ref_counted_ptr.h
"
25
26
namespace
grpc_core
{
27
28
// Build a channel stack.
29
// Allows interested parties to add filters to the stack, and to query an
30
// in-progress build.
31
// Carries some useful context for the channel stack, such as a target string
32
// and a transport.
33
class
ChannelStackBuilderImpl
final :
public
ChannelStackBuilder
{
34
public
:
35
using
ChannelStackBuilder::ChannelStackBuilder
;
36
37
// Build the channel stack.
38
// After success, *result holds the new channel stack,
39
// prefix_bytes are allocated before the channel stack,
40
// initial_refs, destroy, destroy_arg are as per grpc_channel_stack_init
41
// On failure, *result is nullptr.
42
absl::StatusOr<RefCountedPtr<grpc_channel_stack>
>
Build
()
override
;
43
};
44
}
// namespace grpc_core
45
46
#endif // GRPC_CORE_LIB_CHANNEL_CHANNEL_STACK_BUILDER_IMPL_H
channel_fwd.h
grpc_core
Definition:
call_metric_recorder.h:31
grpc_core::ChannelStackBuilder
Definition:
channel_stack_builder.h:41
grpc_core::ChannelStackBuilder::ChannelStackBuilder
ChannelStackBuilder(const char *name, grpc_channel_stack_type type)
Definition:
channel_stack_builder.h:44
grpc_core::ChannelStackBuilderImpl
Definition:
channel_stack_builder_impl.h:33
grpc_core::ChannelStackBuilderImpl::Build
absl::StatusOr< RefCountedPtr< grpc_channel_stack > > Build() override
Definition:
channel_stack_builder_impl.cc:42
ref_counted_ptr.h
absl::StatusOr
Definition:
abseil-cpp/absl/status/statusor.h:187
channel_stack_builder.h
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:44