GRPC C++  1.30.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, RpcType type, const std::shared_ptr< ChannelInterface > &channel)
 
const char * name () 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/2]

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

◆ RpcMethod() [2/2]

grpc::internal::RpcMethod::RpcMethod ( const char *  name,
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

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