Go to the documentation of this file.
19 #ifndef GRPCPP_XDS_SERVER_BUILDER_H
20 #define GRPCPP_XDS_SERVER_BUILDER_H
59 builder_->drain_grace_time_ms_ = drain_grace_time_ms;
83 static void OnServingStatusUpdate(
void* user_data,
const char* uri,
85 if (user_data ==
nullptr)
return;
93 XdsServerServingStatusNotifierInterface* notifier_ =
nullptr;
94 int drain_grace_time_ms_ = -1;
99 #endif // GRPCPP_XDS_SERVER_BUILDER_H
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
void set_drain_grace_time(int drain_grace_time_ms)
Definition: xds_server_builder.h:58
const char * error_message
Definition: grpc.h:437
Options for channel creation.
Definition: channel_arguments.h:39
Did it work? If it didn't, why?
Definition: status.h:34
experimental_type(XdsServerBuilder *builder)
Definition: xds_server_builder.h:53
Definition: xds_server_builder.h:46
grpc::Status status
Definition: xds_server_builder.h:30
Definition: xds_server_builder.h:29
experimental_type experimental()
NOTE: The function experimental() is not stable public API.
Definition: xds_server_builder.h:77
StatusCode
Definition: status_code_enum.h:26
NOTE: class experimental_type is not part of the public API of this class.
Definition: server_builder.h:259
virtual void OnServingStatusUpdate(std::string uri, ServingStatusUpdate update)=0
Definition: xds_server_builder.h:51
void set_status_notifier(XdsServerServingStatusNotifierInterface *notifier)
Definition: xds_server_builder.h:70
grpc_status_code code
Definition: grpc.h:436
A builder class for the creation and startup of grpc::Server instances.
Definition: server_builder.h:88
virtual ~XdsServerServingStatusNotifierInterface()=default
::absl::Status Status
Definition: config_protobuf.h:106
Definition: xds_server_builder.h:27