GRPC C++  1.66.0
Public Member Functions
grpc::ServerBuilderPlugin Class Referenceabstract

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
 

Detailed Description

This interface is meant for internal usage only.

Implementations of this interface should add themselves to a ServerBuilder instance through the InternalAddPluginFactory method.

Constructor & Destructor Documentation

◆ ~ServerBuilderPlugin()

virtual grpc::ServerBuilderPlugin::~ServerBuilderPlugin ( )
inlinevirtual

Member Function Documentation

◆ ChangeArguments()

virtual void grpc::ServerBuilderPlugin::ChangeArguments ( const std::string &  name,
void *  value 
)
pure virtual

ChangeArguments is an interface that can be used in ServerBuilderOption::UpdatePlugins.

◆ Finish()

virtual void grpc::ServerBuilderPlugin::Finish ( ServerInitializer si)
pure virtual

Finish will be called at the end of ServerBuilder::BuildAndStart().

◆ has_async_methods()

virtual bool grpc::ServerBuilderPlugin::has_async_methods ( ) const
inlinevirtual

◆ has_sync_methods()

virtual bool grpc::ServerBuilderPlugin::has_sync_methods ( ) const
inlinevirtual

◆ InitServer()

virtual void grpc::ServerBuilderPlugin::InitServer ( ServerInitializer si)
pure virtual

InitServer will be called in ServerBuilder::BuildAndStart(), after the Server instance is created.

◆ name()

virtual std::string grpc::ServerBuilderPlugin::name ( )
pure virtual

◆ UpdateChannelArguments()

virtual void grpc::ServerBuilderPlugin::UpdateChannelArguments ( ChannelArguments )
inlinevirtual

UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(), before the Server instance is created.

◆ UpdateServerBuilder()

virtual void grpc::ServerBuilderPlugin::UpdateServerBuilder ( ServerBuilder )
inlinevirtual

UpdateServerBuilder will be called at an early stage in ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have done their updates.


The documentation for this class was generated from the following file: