#include <server_builder_plugin.h>
Public Member Functions | |
virtual void | ChangeArguments (const std::string &name, void *value)=0 |
virtual void | Finish (ServerInitializer *si)=0 |
Finish will be called at the end of ServerBuilder::BuildAndStart(). More... | |
virtual bool | has_async_methods () const |
virtual bool | has_sync_methods () const |
virtual void | InitServer (ServerInitializer *si)=0 |
virtual std::string | name ()=0 |
virtual void | UpdateChannelArguments (ChannelArguments *) |
virtual void | UpdateServerBuilder (ServerBuilder *) |
virtual | ~ServerBuilderPlugin () |
This interface is meant for internal usage only. Implementations of this interface should add themselves to a ServerBuilder instance through the InternalAddPluginFactory method.
Definition at line 35 of file grpcpp/impl/server_builder_plugin.h.
|
inlinevirtual |
Definition at line 37 of file grpcpp/impl/server_builder_plugin.h.
|
pure virtual |
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins
Implemented in grpc::testing::TestServerBuilderPlugin, grpc::load_reporter::LoadReportingServiceServerBuilderPlugin, and grpc::channelz::experimental::ChannelzServicePlugin.
|
pure virtual |
Finish will be called at the end of ServerBuilder::BuildAndStart().
Implemented in grpc::load_reporter::LoadReportingServiceServerBuilderPlugin, grpc::reflection::ProtoServerReflectionPlugin, grpc::testing::TestServerBuilderPlugin, and grpc::channelz::experimental::ChannelzServicePlugin.
|
inlinevirtual |
Reimplemented in grpc::testing::TestServerBuilderPlugin, grpc::channelz::experimental::ChannelzServicePlugin, grpc::load_reporter::LoadReportingServiceServerBuilderPlugin, and grpc::reflection::ProtoServerReflectionPlugin.
Definition at line 61 of file grpcpp/impl/server_builder_plugin.h.
|
inlinevirtual |
Reimplemented in grpc::testing::TestServerBuilderPlugin, grpc::load_reporter::LoadReportingServiceServerBuilderPlugin, grpc::channelz::experimental::ChannelzServicePlugin, and grpc::reflection::ProtoServerReflectionPlugin.
Definition at line 60 of file grpcpp/impl/server_builder_plugin.h.
|
pure virtual |
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created.
Implemented in grpc::testing::TestServerBuilderPlugin, grpc::load_reporter::LoadReportingServiceServerBuilderPlugin, grpc::reflection::ProtoServerReflectionPlugin, and grpc::channelz::experimental::ChannelzServicePlugin.
|
pure virtual |
|
inlinevirtual |
UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance is created.
Reimplemented in grpc::load_reporter::LoadReportingServiceServerBuilderPlugin.
Definition at line 58 of file grpcpp/impl/server_builder_plugin.h.
|
inlinevirtual |
UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have done their updates.
Reimplemented in grpc::load_reporter::LoadReportingServiceServerBuilderPlugin.
Definition at line 43 of file grpcpp/impl/server_builder_plugin.h.