GRPC C++  1.46.2
Data Structures | Public Member Functions
grpc::XdsServerBuilder Class Reference

#include <xds_server_builder.h>

Data Structures

class  experimental_type
 

Public Member Functions

void set_status_notifier (XdsServerServingStatusNotifierInterface *notifier)
 
experimental_type experimental ()
 NOTE: The function experimental() is not stable public API. More...
 
- Public Member Functions inherited from grpc::ServerBuilder
 ServerBuilder ()
 
virtual ~ServerBuilder ()
 
virtual std::unique_ptr< grpc::ServerBuildAndStart ()
 Return a running server which is ready for processing calls. More...
 
ServerBuilderRegisterService (grpc::Service *service)
 Register a service. More...
 
ServerBuilderAddListeningPort (const std::string &addr_uri, std::shared_ptr< grpc::ServerCredentials > creds, int *selected_port=nullptr)
 Enlists an endpoint addr (port with an optional IP address) to bind the grpc::Server object to be created to. More...
 
std::unique_ptr< grpc::ServerCompletionQueueAddCompletionQueue (bool is_frequently_polled=true)
 Add a completion queue for handling asynchronous services. More...
 
ServerBuilderRegisterService (const std::string &host, grpc::Service *service)
 Register a service. More...
 
ServerBuilderRegisterAsyncGenericService (grpc::AsyncGenericService *service)
 Register a generic service. More...
 
ServerBuilderSetMaxReceiveMessageSize (int max_receive_message_size)
 Set max receive message size in bytes. More...
 
ServerBuilderSetMaxSendMessageSize (int max_send_message_size)
 Set max send message size in bytes. More...
 
ServerBuilderSetMaxMessageSize (int max_message_size)
 
ServerBuilderSetCompressionAlgorithmSupportStatus (grpc_compression_algorithm algorithm, bool enabled)
 Set the support status for compression algorithms. More...
 
ServerBuilderSetDefaultCompressionLevel (grpc_compression_level level)
 The default compression level to use for all channel calls in the absence of a call-specific level. More...
 
ServerBuilderSetDefaultCompressionAlgorithm (grpc_compression_algorithm algorithm)
 The default compression algorithm to use for all channel calls in the absence of a call-specific level. More...
 
ServerBuilderSetResourceQuota (const grpc::ResourceQuota &resource_quota)
 Set the attached buffer pool for this server. More...
 
ServerBuilderSetOption (std::unique_ptr< grpc::ServerBuilderOption > option)
 
ServerBuilderSetSyncServerOption (SyncServerOption option, int value)
 Only useful if this is a Synchronous server. More...
 
template<class T >
ServerBuilderAddChannelArgument (const std::string &arg, const T &value)
 Add a channel argument (an escape hatch to tuning core library parameters directly) More...
 
ServerBuilderEnableWorkaround (grpc_workaround_list id)
 Enable a server workaround. More...
 
ServerBuilderSetContextAllocator (std::unique_ptr< grpc::ContextAllocator > context_allocator)
 Set the allocator for creating and releasing callback server context. More...
 
ServerBuilderRegisterCallbackGenericService (grpc::CallbackGenericService *service)
 Register a generic service that uses the callback API. More...
 
experimental_type experimental ()
 NOTE: The function experimental() is not stable public API. More...
 

Additional Inherited Members

- Public Types inherited from grpc::ServerBuilder
enum  SyncServerOption { NUM_CQS, MIN_POLLERS, MAX_POLLERS, CQ_TIMEOUT_MSEC }
 Options for synchronous servers. More...
 
- Static Public Member Functions inherited from grpc::ServerBuilder
static void InternalAddPluginFactory (std::unique_ptr< grpc::ServerBuilderPlugin >(*CreatePlugin)())
 For internal use only: Register a ServerBuilderPlugin factory function. More...
 
- Protected Types inherited from grpc::ServerBuilder
typedef std::unique_ptr< std::string > HostString
 Experimental, to be deprecated. More...
 
- Protected Member Functions inherited from grpc::ServerBuilder
std::vector< Portports ()
 Experimental, to be deprecated. More...
 
std::vector< NamedService * > services ()
 Experimental, to be deprecated. More...
 
std::vector< grpc::ServerBuilderOption * > options ()
 Experimental, to be deprecated. More...
 
void set_fetcher (grpc_server_config_fetcher *server_config_fetcher)
 Experimental API, subject to change. More...
 

Member Function Documentation

◆ experimental()

experimental_type grpc::XdsServerBuilder::experimental ( )
inline

NOTE: The function experimental() is not stable public API.

It is a view to the experimental components of this class. It may be changed or removed at any time.

◆ set_status_notifier()

void grpc::XdsServerBuilder::set_status_notifier ( XdsServerServingStatusNotifierInterface notifier)
inline

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