GRPC C++  1.30.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 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
 

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 grpc::string name,
void *  value 
)
pure virtual

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

◆ Finish()

virtual void grpc::ServerBuilderPlugin::Finish ( grpc_impl::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 ( grpc_impl::ServerInitializer si)
pure virtual

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

◆ name()

virtual grpc::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 ( grpc_impl::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: