Public Types | Public Member Functions | Private Attributes | List of all members
grpc::internal::RpcMethod Class Reference

Descriptor of an RPC method. More...

#include <rpc_method.h>

Inheritance diagram for grpc::internal::RpcMethod:
Inheritance graph
[legend]

Public Types

enum  RpcType { NORMAL_RPC = 0, CLIENT_STREAMING, SERVER_STREAMING, BIDI_STREAMING }
 

Public Member Functions

void * channel_tag () const
 
RpcType method_type () const
 
const char * name () const
 
 RpcMethod (const char *name, const char *suffix_for_stats, RpcType type)
 
 RpcMethod (const char *name, const char *suffix_for_stats, RpcType type, const std::shared_ptr< ChannelInterface > &channel)
 
 RpcMethod (const char *name, RpcType type)
 
 RpcMethod (const char *name, RpcType type, const std::shared_ptr< ChannelInterface > &channel)
 
void SetMethodType (RpcType type)
 
const char * suffix_for_stats () const
 

Private Attributes

void *const channel_tag_
 
RpcType method_type_
 
const char *const name_
 
const char *const suffix_for_stats_
 

Detailed Description

Descriptor of an RPC method.

Definition at line 31 of file grpcpp/impl/codegen/rpc_method.h.

Member Enumeration Documentation

◆ RpcType

Enumerator
NORMAL_RPC 
CLIENT_STREAMING 
SERVER_STREAMING 
BIDI_STREAMING 

Definition at line 33 of file grpcpp/impl/codegen/rpc_method.h.

Constructor & Destructor Documentation

◆ RpcMethod() [1/4]

grpc::internal::RpcMethod::RpcMethod ( const char *  name,
RpcType  type 
)
inline

Definition at line 40 of file grpcpp/impl/codegen/rpc_method.h.

◆ RpcMethod() [2/4]

grpc::internal::RpcMethod::RpcMethod ( const char *  name,
const char *  suffix_for_stats,
RpcType  type 
)
inline

Definition at line 46 of file grpcpp/impl/codegen/rpc_method.h.

◆ RpcMethod() [3/4]

grpc::internal::RpcMethod::RpcMethod ( const char *  name,
RpcType  type,
const std::shared_ptr< ChannelInterface > &  channel 
)
inline

Definition at line 52 of file grpcpp/impl/codegen/rpc_method.h.

◆ RpcMethod() [4/4]

grpc::internal::RpcMethod::RpcMethod ( const char *  name,
const char *  suffix_for_stats,
RpcType  type,
const std::shared_ptr< ChannelInterface > &  channel 
)
inline

Definition at line 59 of file grpcpp/impl/codegen/rpc_method.h.

Member Function Documentation

◆ channel_tag()

void* grpc::internal::RpcMethod::channel_tag ( ) const
inline

Definition at line 70 of file grpcpp/impl/codegen/rpc_method.h.

◆ method_type()

RpcType grpc::internal::RpcMethod::method_type ( ) const
inline

Definition at line 68 of file grpcpp/impl/codegen/rpc_method.h.

◆ name()

const char* grpc::internal::RpcMethod::name ( ) const
inline

Definition at line 66 of file grpcpp/impl/codegen/rpc_method.h.

◆ SetMethodType()

void grpc::internal::RpcMethod::SetMethodType ( RpcType  type)
inline

Definition at line 69 of file grpcpp/impl/codegen/rpc_method.h.

◆ suffix_for_stats()

const char* grpc::internal::RpcMethod::suffix_for_stats ( ) const
inline

Definition at line 67 of file grpcpp/impl/codegen/rpc_method.h.

Member Data Documentation

◆ channel_tag_

void* const grpc::internal::RpcMethod::channel_tag_
private

Definition at line 76 of file grpcpp/impl/codegen/rpc_method.h.

◆ method_type_

RpcType grpc::internal::RpcMethod::method_type_
private

Definition at line 75 of file grpcpp/impl/codegen/rpc_method.h.

◆ name_

const char* const grpc::internal::RpcMethod::name_
private

Definition at line 73 of file grpcpp/impl/codegen/rpc_method.h.

◆ suffix_for_stats_

const char* const grpc::internal::RpcMethod::suffix_for_stats_
private

Definition at line 74 of file grpcpp/impl/codegen/rpc_method.h.


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


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