GRPC Core  18.0.0
Public Member Functions
grpc_core::ProxyMapperInterface Class Referenceabstract

#include <proxy_mapper.h>

Public Member Functions

virtual ~ProxyMapperInterface ()=default
 
virtual bool MapName (const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args)=0
 Determines the proxy name to resolve for server_uri. More...
 
virtual bool MapAddress (const grpc_resolved_address &address, const grpc_channel_args *args, grpc_resolved_address **new_address, grpc_channel_args **new_args)=0
 Determines the proxy address to use to contact address. More...
 

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.

◆ 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.


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