Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_RPC_METHOD_H
20 #define GRPCPP_IMPL_CODEGEN_RPC_METHOD_H
39 : name_(
name), method_type_(type), channel_tag_(NULL) {}
42 const std::shared_ptr<ChannelInterface>& channel)
45 channel_tag_(channel->RegisterMethod(
name)) {}
47 const char*
name()
const {
return name_; }
53 const char*
const name_;
55 void*
const channel_tag_;
61 #endif // GRPCPP_IMPL_CODEGEN_RPC_METHOD_H
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
void SetMethodType(RpcType type)
Definition: rpc_method.h:49
const char * name() const
Definition: rpc_method.h:47
Definition: rpc_method.h:33
Definition: rpc_method.h:35
void * channel_tag() const
Definition: rpc_method.h:50
RpcMethod(const char *name, RpcType type)
Definition: rpc_method.h:38
Definition: rpc_method.h:34
RpcType
Definition: rpc_method.h:31
Definition: rpc_method.h:32
RpcMethod(const char *name, RpcType type, const std::shared_ptr< ChannelInterface > &channel)
Definition: rpc_method.h:41
RpcType method_type() const
Definition: rpc_method.h:48
Descriptor of an RPC method.
Definition: rpc_method.h:29