GRPC C++
1.13.0-dev
|
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 (ServerBuilder *builder) |
UpdateServerBuilder will be called at the beginning of ServerBuilder::BuildAndStart(). 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 grpc::string &name, void *value)=0 |
ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins. More... | |
virtual void | UpdateChannelArguments (ChannelArguments *args) |
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 the beginning of ServerBuilder::BuildAndStart().