|
GRPC C++
1.76.0
|
#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::Server > | BuildAndStart () |
| Return a running server which is ready for processing calls. More... | |
| ServerBuilder & | RegisterService (grpc::Service *service) |
| Register a service. More... | |
| ServerBuilder & | AddListeningPort (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::ServerCompletionQueue > | AddCompletionQueue (bool is_frequently_polled=true) |
| Add a completion queue for handling asynchronous services. More... | |
| ServerBuilder & | RegisterService (const std::string &host, grpc::Service *service) |
| Register a service. More... | |
| ServerBuilder & | RegisterAsyncGenericService (grpc::AsyncGenericService *service) |
| Register a generic service. More... | |
| ServerBuilder & | SetMaxReceiveMessageSize (int max_receive_message_size) |
| Set max receive message size in bytes. More... | |
| ServerBuilder & | SetMaxSendMessageSize (int max_send_message_size) |
| Set max send message size in bytes. More... | |
| ServerBuilder & | SetMaxMessageSize (int max_message_size) |
| ServerBuilder & | SetCompressionAlgorithmSupportStatus (grpc_compression_algorithm algorithm, bool enabled) |
| Set the support status for compression algorithms. More... | |
| ServerBuilder & | SetDefaultCompressionLevel (grpc_compression_level level) |
| The default compression level to use for all channel calls in the absence of a call-specific level. More... | |
| ServerBuilder & | SetDefaultCompressionAlgorithm (grpc_compression_algorithm algorithm) |
| The default compression algorithm to use for all channel calls in the absence of a call-specific level. More... | |
| ServerBuilder & | SetResourceQuota (const grpc::ResourceQuota &resource_quota) |
| Set the attached buffer pool for this server. More... | |
| ServerBuilder & | SetOption (std::unique_ptr< grpc::ServerBuilderOption > option) |
| ServerBuilder & | SetSyncServerOption (SyncServerOption option, int value) |
| Only useful if this is a Synchronous server. More... | |
| template<class T > | |
| ServerBuilder & | AddChannelArgument (const std::string &arg, const T &value) |
| Add a channel argument (an escape hatch to tuning core library parameters directly) More... | |
| ServerBuilder & | EnableWorkaround (grpc_workaround_list id) |
| Enable a server workaround. More... | |
| ServerBuilder & | SetContextAllocator (std::unique_ptr< grpc::ContextAllocator > context_allocator) |
| Set the allocator for creating and releasing callback server context. More... | |
| ServerBuilder & | RegisterCallbackGenericService (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< Port > | ports () |
| 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... | |
|
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.
|
inline |
1.8.17