GRPC C++  1.30.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...
 
ChannelInterfacechannel ()
 Return a pointer to the channel on which the RPC is being sent. More...
 
grpc_impl::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_impl::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_impl::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.

◆ 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_impl::ClientContext

friend class grpc_impl::ClientContext
friend

◆ internal::InterceptorBatchMethodsImpl


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