GRPC C++
1.30.0
|
This interface is meant for internal usage only. More...
#include <server_builder_plugin.h>
Public Member Functions | |
virtual | ~ServerBuilderPlugin () |
virtual grpc::string | name ()=0 |
virtual void | UpdateServerBuilder (grpc_impl::ServerBuilder *) |
UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have done their updates. More... | |
virtual void | InitServer (grpc_impl::ServerInitializer *si)=0 |
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created. More... | |
virtual void | Finish (grpc_impl::ServerInitializer *si)=0 |
Finish will be called at the end of ServerBuilder::BuildAndStart(). More... | |
virtual void | ChangeArguments (const grpc::string &name, void *value)=0 |
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins. More... | |
virtual void | UpdateChannelArguments (ChannelArguments *) |
UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance is created. More... | |
virtual bool | has_sync_methods () const |
virtual bool | has_async_methods () const |
This interface is meant for internal usage only.
Implementations of this interface should add themselves to a ServerBuilder instance through the InternalAddPluginFactory method.
|
inlinevirtual |
|
pure virtual |
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins.
|
pure virtual |
Finish will be called at the end of ServerBuilder::BuildAndStart().
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created.
|
pure virtual |
|
inlinevirtual |
UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance is created.
|
inlinevirtual |
UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have done their updates.