GRPC C++
1.66.0
|
This interface is meant for internal usage only. More...
#include <server_builder_plugin.h>
Public Member Functions | |
virtual | ~ServerBuilderPlugin () |
virtual std::string | name ()=0 |
virtual void | UpdateServerBuilder (ServerBuilder *) |
UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have done their updates. More... | |
virtual void | InitServer (ServerInitializer *si)=0 |
InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created. More... | |
virtual void | Finish (ServerInitializer *si)=0 |
Finish will be called at the end of ServerBuilder::BuildAndStart(). More... | |
virtual void | ChangeArguments (const std::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.