Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_SERVER_BUILDER_PLUGIN_H
20 #define GRPCPP_IMPL_SERVER_BUILDER_PLUGIN_H
30 class ServerInitializer;
38 virtual std::string
name() = 0;
66 #endif // GRPCPP_IMPL_SERVER_BUILDER_PLUGIN_H
virtual bool has_async_methods() const
Definition: server_builder_plugin.h:61
virtual void ChangeArguments(const std::string &name, void *value)=0
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins.
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
Definition: server_initializer.h:31
virtual void InitServer(ServerInitializer *si)=0
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created.
Options for channel creation.
Definition: channel_arguments.h:39
virtual ~ServerBuilderPlugin()
Definition: server_builder_plugin.h:37
virtual void Finish(ServerInitializer *si)=0
Finish will be called at the end of ServerBuilder::BuildAndStart().
virtual void UpdateServerBuilder(ServerBuilder *)
UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(),...
Definition: server_builder_plugin.h:43
virtual void UpdateChannelArguments(ChannelArguments *)
UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance i...
Definition: server_builder_plugin.h:58
This interface is meant for internal usage only.
Definition: server_builder_plugin.h:35
virtual bool has_sync_methods() const
Definition: server_builder_plugin.h:60
A builder class for the creation and startup of grpc::Server instances.
Definition: server_builder.h:88
virtual std::string name()=0