class ClientRpcInfo

Defined at line 72 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

Public Methods

void ~ClientRpcInfo ()

Defined at line 85 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

void ClientRpcInfo (const ClientRpcInfo & )

Delete copy constructor but allow default move constructor

Defined at line 88 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

void ClientRpcInfo (ClientRpcInfo && )

Defined at line 89 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

const char * method ()

Return the fully-specified method name

Defined at line 94 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

const char * suffix_for_stats ()

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

specified.

Defined at line 98 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

ChannelInterface * channel ()

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

Defined at line 101 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

grpc::ClientContext * client_context ()

Return a pointer to the underlying ClientContext structure associated

with the RPC to support features that apply to it

Defined at line 105 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

Type type ()

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

Defined at line 108 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

Enumerations

enum class Type
Name Value Comments
UNARY 0 --
CLIENT_STREAMING 1 --
SERVER_STREAMING 2 --
BIDI_STREAMING 3 --
UNKNOWN 4

UNKNOWN is not API and will be removed later

TODO(yashykt): Stop default-constructing ClientRpcInfo and remove UNKNOWN

from the list of possible Types.

Type categorizes RPCs by unary or streaming type

Defined at line 77 of file ../../third_party/grpc/src/include/grpcpp/support/client_interceptor.h

Friends

class ClientContext
class InterceptorBatchMethodsImpl