34 #ifndef GRPCXX_IMPL_SERVER_BUILDER_PLUGIN_H
35 #define GRPCXX_IMPL_SERVER_BUILDER_PLUGIN_H
44 class ServerInitializer;
45 class ChannelArguments;
80 #endif // GRPCXX_IMPL_SERVER_BUILDER_PLUGIN_H
std::string string
Definition: config.h:50
virtual ~ServerBuilderPlugin()
Definition: server_builder_plugin.h:52
virtual bool has_async_methods() const
Definition: server_builder_plugin.h:75
Options for channel creation.
Definition: channel_arguments.h:54
Definition: server_initializer.h:47
virtual void InitServer(ServerInitializer *si)=0
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created...
virtual void ChangeArguments(const grpc::string &name, void *value)=0
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins.
virtual void UpdateChannelArguments(ChannelArguments *args)
UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance i...
Definition: server_builder_plugin.h:72
virtual bool has_sync_methods() const
Definition: server_builder_plugin.h:74
virtual grpc::string name()=0
virtual void UpdateServerBuilder(ServerBuilder *builder)
UpdateServerBuilder will be called at the beginning of ServerBuilder::BuildAndStart().
Definition: server_builder_plugin.h:57
virtual void Finish(ServerInitializer *si)=0
Finish will be called at the end of ServerBuilder::BuildAndStart().
This interface is meant for internal usage only.
Definition: server_builder_plugin.h:50
A builder class for the creation and startup of grpc::Server instances.
Definition: server_builder.h:69