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

#include <proxy_mapper.h>

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

Public Member Functions

virtual bool MapAddress (const grpc_resolved_address &address, const grpc_channel_args *args, grpc_resolved_address **new_address, grpc_channel_args **new_args)=0
 
virtual bool MapName (const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args)=0
 
virtual ~ProxyMapperInterface ()=default
 

Detailed Description

Definition at line 30 of file proxy_mapper.h.

Constructor & Destructor Documentation

◆ ~ProxyMapperInterface()

virtual grpc_core::ProxyMapperInterface::~ProxyMapperInterface ( )
virtualdefault

Member Function Documentation

◆ MapAddress()

virtual bool grpc_core::ProxyMapperInterface::MapAddress ( const grpc_resolved_address address,
const grpc_channel_args args,
grpc_resolved_address **  new_address,
grpc_channel_args **  new_args 
)
pure virtual

Determines the proxy address to use to contact address. If no proxy is needed, returns false. Otherwise, sets new_address, optionally sets new_args, and returns true.

Implemented in grpc_core::HttpProxyMapper.

◆ MapName()

virtual bool grpc_core::ProxyMapperInterface::MapName ( const char *  server_uri,
const grpc_channel_args args,
char **  name_to_resolve,
grpc_channel_args **  new_args 
)
pure virtual

Determines the proxy name to resolve for server_uri. If no proxy is needed, returns false. Otherwise, sets name_to_resolve, optionally sets new_args, and returns true.

Implemented in grpc_core::HttpProxyMapper.


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


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