|
GRPC C++
1.30.0
|
Server side rpc method class. More...
#include <rpc_service_method.h>
Public Types | |
| enum | ApiType { ApiType::SYNC, ApiType::ASYNC, ApiType::RAW, ApiType::CALL_BACK, ApiType::RAW_CALL_BACK } |
Public Types inherited from grpc::internal::RpcMethod | |
| enum | RpcType { NORMAL_RPC = 0, CLIENT_STREAMING, SERVER_STREAMING, BIDI_STREAMING } |
Public Member Functions | |
| RpcServiceMethod (const char *name, RpcMethod::RpcType type, MethodHandler *handler) | |
| Takes ownership of the handler. More... | |
| void | set_server_tag (void *tag) |
| void * | server_tag () const |
| MethodHandler * | handler () const |
| if MethodHandler is nullptr, then this is an async method More... | |
| ApiType | api_type () const |
| void | SetHandler (MethodHandler *handler) |
| void | SetServerApiType (RpcServiceMethod::ApiType type) |
Public Member Functions inherited from grpc::internal::RpcMethod | |
| RpcMethod (const char *name, RpcType type) | |
| RpcMethod (const char *name, RpcType type, const std::shared_ptr< ChannelInterface > &channel) | |
| const char * | name () const |
| RpcType | method_type () const |
| void | SetMethodType (RpcType type) |
| void * | channel_tag () const |
Server side rpc method class.
|
strong |
|
inline |
Takes ownership of the handler.
|
inline |
|
inline |
if MethodHandler is nullptr, then this is an async method
|
inline |
|
inline |
|
inline |
|
inline |
1.8.16