GRPC C++  1.62.0
Public Types | Public Member Functions
grpc::internal::RpcMethod Class Reference

Descriptor of an RPC method. More...

#include <rpc_method.h>

Public Types

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

Public Member Functions

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

Detailed Description

Descriptor of an RPC method.

Member Enumeration Documentation

◆ RpcType

Enumerator
NORMAL_RPC 
CLIENT_STREAMING 
SERVER_STREAMING 
BIDI_STREAMING 

Constructor & Destructor Documentation

◆ RpcMethod() [1/4]

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

◆ RpcMethod() [2/4]

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

◆ RpcMethod() [3/4]

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

◆ RpcMethod() [4/4]

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

Member Function Documentation

◆ channel_tag()

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

◆ method_type()

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

◆ name()

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

◆ SetMethodType()

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

◆ suffix_for_stats()

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

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