GRPC C++  1.62.0
Public Types | Public Member Functions | Friends
grpc::experimental::ClientRpcInfo Class Reference

#include <client_interceptor.h>

Public Types

enum  Type {
  Type::UNARY, Type::CLIENT_STREAMING, Type::SERVER_STREAMING, Type::BIDI_STREAMING,
  Type::UNKNOWN
}
 Type categorizes RPCs by unary or streaming type. More...
 

Public Member Functions

 ~ClientRpcInfo ()
 
 ClientRpcInfo (const ClientRpcInfo &)=delete
 
 ClientRpcInfo (ClientRpcInfo &&)=default
 
const char * method () const
 Return the fully-specified method name. More...
 
const char * suffix_for_stats () const
 Return an identifying suffix for the client stub, or nullptr if one wasn't specified. More...
 
ChannelInterfacechannel ()
 Return a pointer to the channel on which the RPC is being sent. More...
 
grpc::ClientContextclient_context ()
 Return a pointer to the underlying ClientContext structure associated with the RPC to support features that apply to it. More...
 
Type type () const
 Return the type of the RPC (unary or a streaming flavor) More...
 

Friends

class internal::InterceptorBatchMethodsImpl
 
class grpc::ClientContext
 

Member Enumeration Documentation

◆ Type

Type categorizes RPCs by unary or streaming type.

Enumerator
UNARY 
CLIENT_STREAMING 
SERVER_STREAMING 
BIDI_STREAMING 
UNKNOWN 

Constructor & Destructor Documentation

◆ ~ClientRpcInfo()

grpc::experimental::ClientRpcInfo::~ClientRpcInfo ( )
inline

◆ ClientRpcInfo() [1/2]

grpc::experimental::ClientRpcInfo::ClientRpcInfo ( const ClientRpcInfo )
delete

◆ ClientRpcInfo() [2/2]

grpc::experimental::ClientRpcInfo::ClientRpcInfo ( ClientRpcInfo &&  )
default

Member Function Documentation

◆ channel()

ChannelInterface* grpc::experimental::ClientRpcInfo::channel ( )
inline

Return a pointer to the channel on which the RPC is being sent.

◆ client_context()

grpc::ClientContext* grpc::experimental::ClientRpcInfo::client_context ( )
inline

Return a pointer to the underlying ClientContext structure associated with the RPC to support features that apply to it.

◆ method()

const char* grpc::experimental::ClientRpcInfo::method ( ) const
inline

Return the fully-specified method name.

◆ suffix_for_stats()

const char* grpc::experimental::ClientRpcInfo::suffix_for_stats ( ) const
inline

Return an identifying suffix for the client stub, or nullptr if one wasn't specified.

◆ type()

Type grpc::experimental::ClientRpcInfo::type ( ) const
inline

Return the type of the RPC (unary or a streaming flavor)

Friends And Related Function Documentation

◆ grpc::ClientContext

friend class grpc::ClientContext
friend

◆ internal::InterceptorBatchMethodsImpl


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