class RpcMethod

Defined at line 29 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

Descriptor of an RPC method

Public Methods

void RpcMethod (const char * name, RpcType type)

Defined at line 38 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

void RpcMethod (const char * name, const char * suffix_for_stats, RpcType type)

Defined at line 44 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

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

Defined at line 50 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

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

Defined at line 57 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

const char * name ()

Defined at line 64 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

const char * suffix_for_stats ()

Defined at line 65 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

RpcType method_type ()

Defined at line 66 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

void SetMethodType (RpcType type)

Defined at line 67 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

void * channel_tag ()

Defined at line 68 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h

Enumerations

enum RpcType
Name Value Comments
NORMAL_RPC 0 --
CLIENT_STREAMING 1

request streaming

SERVER_STREAMING 2

response streaming

BIDI_STREAMING 3 --

Defined at line 31 of file ../../third_party/grpc/src/include/grpcpp/impl/rpc_method.h