Public Member Functions | Private Attributes | List of all members
grpc::reflection::ProtoServerReflectionPlugin Class Reference

#include <proto_server_reflection_plugin.h>

Inheritance diagram for grpc::reflection::ProtoServerReflectionPlugin:
Inheritance graph
[legend]

Public Member Functions

void ChangeArguments (const ::std::string &name, void *value) override
 
void Finish (ServerInitializer *si) override
 Finish will be called at the end of ServerBuilder::BuildAndStart(). More...
 
bool has_async_methods () const override
 
bool has_sync_methods () const override
 
void InitServer (ServerInitializer *si) override
 
::std::string name () override
 
 ProtoServerReflectionPlugin ()
 
- Public Member Functions inherited from grpc::ServerBuilderPlugin
virtual void ChangeArguments (const std::string &name, void *value)=0
 
virtual void UpdateChannelArguments (ChannelArguments *)
 
virtual void UpdateServerBuilder (ServerBuilder *)
 
virtual ~ServerBuilderPlugin ()
 

Private Attributes

std::shared_ptr< grpc::ProtoServerReflectionreflection_service_
 

Detailed Description

Definition at line 31 of file grpcpp/ext/proto_server_reflection_plugin.h.

Constructor & Destructor Documentation

◆ ProtoServerReflectionPlugin()

grpc::reflection::ProtoServerReflectionPlugin::ProtoServerReflectionPlugin ( )

Definition at line 29 of file proto_server_reflection_plugin.cc.

Member Function Documentation

◆ ChangeArguments()

void grpc::reflection::ProtoServerReflectionPlugin::ChangeArguments ( const ::std::string &  name,
void *  value 
)
override

Definition at line 44 of file proto_server_reflection_plugin.cc.

◆ Finish()

void grpc::reflection::ProtoServerReflectionPlugin::Finish ( ServerInitializer si)
overridevirtual

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

Implements grpc::ServerBuilderPlugin.

Definition at line 40 of file proto_server_reflection_plugin.cc.

◆ has_async_methods()

bool grpc::reflection::ProtoServerReflectionPlugin::has_async_methods ( ) const
overridevirtual

Reimplemented from grpc::ServerBuilderPlugin.

Definition at line 54 of file proto_server_reflection_plugin.cc.

◆ has_sync_methods()

bool grpc::reflection::ProtoServerReflectionPlugin::has_sync_methods ( ) const
overridevirtual

Reimplemented from grpc::ServerBuilderPlugin.

Definition at line 47 of file proto_server_reflection_plugin.cc.

◆ InitServer()

void grpc::reflection::ProtoServerReflectionPlugin::InitServer ( ServerInitializer si)
overridevirtual

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

Implements grpc::ServerBuilderPlugin.

Definition at line 36 of file proto_server_reflection_plugin.cc.

◆ name()

std::string grpc::reflection::ProtoServerReflectionPlugin::name ( )
overridevirtual

Implements grpc::ServerBuilderPlugin.

Definition at line 32 of file proto_server_reflection_plugin.cc.

Member Data Documentation

◆ reflection_service_

std::shared_ptr<grpc::ProtoServerReflection> grpc::reflection::ProtoServerReflectionPlugin::reflection_service_
private

Definition at line 42 of file grpcpp/ext/proto_server_reflection_plugin.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33