Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc::XdsServerBuilder Class Reference

#include <xds_server_builder.h>

Inheritance diagram for grpc::XdsServerBuilder:
Inheritance graph
[legend]

Classes

class  experimental_type
 

Public Member Functions

experimental_type experimental ()
 
void set_status_notifier (XdsServerServingStatusNotifierInterface *notifier)
 
- Public Member Functions inherited from grpc::ServerBuilder
template<class T >
ServerBuilderAddChannelArgument (const std::string &arg, const T &value)
 
std::unique_ptr< grpc::ServerCompletionQueueAddCompletionQueue (bool is_frequently_polled=true)
 
ServerBuilderAddListeningPort (const std::string &addr_uri, std::shared_ptr< grpc::ServerCredentials > creds, int *selected_port=nullptr)
 
virtual std::unique_ptr< grpc::ServerBuildAndStart ()
 
ServerBuilderEnableWorkaround (grpc_workaround_list id)
 
experimental_type experimental ()
 
ServerBuilderRegisterAsyncGenericService (grpc::AsyncGenericService *service)
 
ServerBuilderRegisterCallbackGenericService (grpc::CallbackGenericService *service)
 
ServerBuilderRegisterService (const std::string &host, grpc::Service *service)
 
ServerBuilderRegisterService (grpc::Service *service)
 
 ServerBuilder ()
 
ServerBuilderSetCompressionAlgorithmSupportStatus (grpc_compression_algorithm algorithm, bool enabled)
 
ServerBuilderSetContextAllocator (std::unique_ptr< grpc::ContextAllocator > context_allocator)
 
ServerBuilderSetDefaultCompressionAlgorithm (grpc_compression_algorithm algorithm)
 
ServerBuilderSetDefaultCompressionLevel (grpc_compression_level level)
 
ServerBuilderSetMaxMessageSize (int max_message_size)
 
ServerBuilderSetMaxReceiveMessageSize (int max_receive_message_size)
 
ServerBuilderSetMaxSendMessageSize (int max_send_message_size)
 
ServerBuilderSetOption (std::unique_ptr< grpc::ServerBuilderOption > option)
 
ServerBuilderSetResourceQuota (const grpc::ResourceQuota &resource_quota)
 Set the attached buffer pool for this server. More...
 
ServerBuilderSetSyncServerOption (SyncServerOption option, int value)
 Only useful if this is a Synchronous server. More...
 
virtual ~ServerBuilder ()
 

Private Member Functions

ChannelArguments BuildChannelArgs () override
 Experimental API, subject to change. More...
 

Static Private Member Functions

static void OnServingStatusUpdate (void *user_data, const char *uri, grpc_serving_status_update update)
 

Private Attributes

int drain_grace_time_ms_ = -1
 
XdsServerServingStatusNotifierInterfacenotifier_ = nullptr
 

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< grpc::ServerBuilderOption * > options ()
 Experimental, to be deprecated. More...
 
std::vector< Portports ()
 Experimental, to be deprecated. More...
 
std::vector< NamedService * > services ()
 Experimental, to be deprecated. More...
 
void set_fetcher (grpc_server_config_fetcher *server_config_fetcher)
 Experimental API, subject to change. More...
 

Detailed Description

Definition at line 47 of file xds_server_builder.h.

Member Function Documentation

◆ BuildChannelArgs()

ChannelArguments grpc::XdsServerBuilder::BuildChannelArgs ( )
inlineoverrideprivatevirtual

Experimental API, subject to change.

Reimplemented from grpc::ServerBuilder.

Definition at line 82 of file xds_server_builder.h.

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

Definition at line 78 of file xds_server_builder.h.

◆ OnServingStatusUpdate()

static void grpc::XdsServerBuilder::OnServingStatusUpdate ( void *  user_data,
const char *  uri,
grpc_serving_status_update  update 
)
inlinestaticprivate

Definition at line 95 of file xds_server_builder.h.

◆ set_status_notifier()

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

Definition at line 71 of file xds_server_builder.h.

Member Data Documentation

◆ drain_grace_time_ms_

int grpc::XdsServerBuilder::drain_grace_time_ms_ = -1
private

Definition at line 106 of file xds_server_builder.h.

◆ notifier_

XdsServerServingStatusNotifierInterface* grpc::XdsServerBuilder::notifier_ = nullptr
private

Definition at line 105 of file xds_server_builder.h.


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


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