proxy_mapper.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_H
20 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_H
21 
23 
25 
27 
28 namespace grpc_core {
29 
31  public:
32  virtual ~ProxyMapperInterface() = default;
33 
38  virtual bool MapName(const char* server_uri, const grpc_channel_args* args,
39  char** name_to_resolve,
40  grpc_channel_args** new_args) = 0;
41 
46  virtual bool MapAddress(const grpc_resolved_address& address,
47  const grpc_channel_args* args,
48  grpc_resolved_address** new_address,
49  grpc_channel_args** new_args) = 0;
50 };
51 
52 } // namespace grpc_core
53 
54 #endif /* GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_H */
grpc_core
Definition: call_metric_recorder.h:31
grpc_core::ProxyMapperInterface::~ProxyMapperInterface
virtual ~ProxyMapperInterface()=default
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
asyncio_get_stats.args
args
Definition: asyncio_get_stats.py:40
grpc_core::ProxyMapperInterface::MapName
virtual bool MapName(const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args)=0
grpc_core::ProxyMapperInterface
Definition: proxy_mapper.h:30
grpc_core::ProxyMapperInterface::MapAddress
virtual bool MapAddress(const grpc_resolved_address &address, const grpc_channel_args *args, grpc_resolved_address **new_address, grpc_channel_args **new_args)=0
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:58