Server side rpc method class.
More...
#include <rpc_service_method.h>
|
ApiType | api_type () const |
|
MethodHandler * | handler () const |
| if MethodHandler is nullptr, then this is an async method More...
|
|
| RpcServiceMethod (const char *name, RpcMethod::RpcType type, MethodHandler *handler) |
| Takes ownership of the handler. More...
|
|
void * | server_tag () const |
|
void | set_server_tag (void *tag) |
|
void | SetHandler (MethodHandler *handler) |
|
void | SetServerApiType (RpcServiceMethod::ApiType type) |
|
void * | channel_tag () const |
|
RpcType | method_type () const |
|
const char * | name () const |
|
| RpcMethod (const char *name, const char *suffix_for_stats, RpcType type) |
|
| RpcMethod (const char *name, const char *suffix_for_stats, RpcType type, const std::shared_ptr< ChannelInterface > &channel) |
|
| RpcMethod (const char *name, RpcType type) |
|
| RpcMethod (const char *name, RpcType type, const std::shared_ptr< ChannelInterface > &channel) |
|
void | SetMethodType (RpcType type) |
|
const char * | suffix_for_stats () const |
|
Server side rpc method class.
Definition at line 86 of file grpcpp/impl/codegen/rpc_service_method.h.
◆ ApiType
◆ RpcServiceMethod()
◆ api_type()
ApiType grpc::internal::RpcServiceMethod::api_type |
( |
| ) |
const |
|
inline |
◆ handler()
MethodHandler* grpc::internal::RpcServiceMethod::handler |
( |
| ) |
const |
|
inline |
◆ server_tag()
void* grpc::internal::RpcServiceMethod::server_tag |
( |
| ) |
const |
|
inline |
◆ set_server_tag()
void grpc::internal::RpcServiceMethod::set_server_tag |
( |
void * |
tag | ) |
|
|
inline |
◆ SetHandler()
void grpc::internal::RpcServiceMethod::SetHandler |
( |
MethodHandler * |
handler | ) |
|
|
inline |
◆ SetServerApiType()
◆ TypeToString()
◆ api_type_
ApiType grpc::internal::RpcServiceMethod::api_type_ |
|
private |
◆ handler_
std::unique_ptr<MethodHandler> grpc::internal::RpcServiceMethod::handler_ |
|
private |
◆ server_tag_
void* grpc::internal::RpcServiceMethod::server_tag_ |
|
private |
The documentation for this class was generated from the following file: