Interface to pass an option to a ServerBuilder. More...
#include <server_builder_option.h>
Public Member Functions | |
virtual void | UpdateArguments (grpc::ChannelArguments *args)=0 |
Alter the ChannelArguments used to create the gRPC server. More... | |
virtual void | UpdatePlugins (std::vector< std::unique_ptr< grpc::ServerBuilderPlugin >> *plugins)=0 |
Alter the ServerBuilderPlugin map that will be added into ServerBuilder. More... | |
virtual | ~ServerBuilderOption () |
Interface to pass an option to a ServerBuilder.
Definition at line 31 of file grpcpp/impl/server_builder_option.h.
|
inlinevirtual |
Definition at line 33 of file grpcpp/impl/server_builder_option.h.
|
pure virtual |
Alter the ChannelArguments used to create the gRPC server.
Implemented in grpc::testing::XdsEnd2endTest::ServerThread::XdsChannelArgsServerBuilderOption, grpc::load_reporter::experimental::LoadReportingServiceServerBuilderOption, grpc::HealthCheckServiceServerBuilderOption, and grpc::testing::InsertPluginServerBuilderOption.
|
pure virtual |
Alter the ServerBuilderPlugin map that will be added into ServerBuilder.
Implemented in grpc::load_reporter::experimental::LoadReportingServiceServerBuilderOption, and grpc::testing::XdsEnd2endTest::ServerThread::XdsChannelArgsServerBuilderOption.