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
ext
filters
client_channel
proxy_mapper_registry.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2017 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_REGISTRY_H
20
#define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_REGISTRY_H
21
22
#include <
grpc/support/port_platform.h
>
23
24
#include <memory>
25
26
#include <
grpc/impl/codegen/grpc_types.h
>
27
28
#include "
src/core/ext/filters/client_channel/proxy_mapper.h
"
29
#include "
src/core/lib/iomgr/resolved_address.h
"
30
31
namespace
grpc_core
{
32
33
class
ProxyMapperRegistry
{
34
public
:
35
static
void
Init
();
36
static
void
Shutdown
();
37
41
static
void
Register
(
bool
at_start,
42
std::unique_ptr<ProxyMapperInterface> mapper);
43
44
static
bool
MapName
(
const
char
*
server_uri
,
const
grpc_channel_args
*
args
,
45
char
** name_to_resolve,
grpc_channel_args
** new_args);
46
47
static
bool
MapAddress
(
const
grpc_resolved_address
& address,
48
const
grpc_channel_args
*
args
,
49
grpc_resolved_address
** new_address,
50
grpc_channel_args
** new_args);
51
};
52
53
}
// namespace grpc_core
54
55
#endif
/* GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_REGISTRY_H */
grpc_core
Definition:
call_metric_recorder.h:31
grpc_core::ProxyMapperRegistry::MapName
static bool MapName(const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args)
Definition:
proxy_mapper_registry.cc:64
grpc_resolved_address
Definition:
resolved_address.h:34
run_xds_tests.server_uri
string server_uri
Definition:
run_xds_tests.py:3320
resolved_address.h
grpc_channel_args
Definition:
grpc_types.h:132
grpc_types.h
proxy_mapper.h
asyncio_get_stats.args
args
Definition:
asyncio_get_stats.py:40
grpc_core::ProxyMapperRegistry::MapAddress
static bool MapAddress(const grpc_resolved_address &address, const grpc_channel_args *args, grpc_resolved_address **new_address, grpc_channel_args **new_args)
Definition:
proxy_mapper_registry.cc:77
grpc_core::ProxyMapperRegistry::Shutdown
static void Shutdown()
Definition:
proxy_mapper_registry.cc:42
grpc_core::ProxyMapperRegistry::Init
static void Init()
Definition:
proxy_mapper_registry.cc:36
grpc_core::ProxyMapperRegistry::Register
static void Register(bool at_start, std::unique_ptr< ProxyMapperInterface > mapper)
Definition:
proxy_mapper_registry.cc:53
grpc_core::ProxyMapperRegistry
Definition:
proxy_mapper_registry.h:33
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:58