|
void | set_status_notifier (XdsServerServingStatusNotifierInterface *notifier) |
|
experimental_type | experimental () |
| NOTE: The function experimental() is not stable public API. More...
|
|
| 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...
|
|