34 #ifndef GRPCXX_IMPL_CODEGEN_RPC_METHOD_H
35 #define GRPCXX_IMPL_CODEGEN_RPC_METHOD_H
53 : name_(name), method_type_(type), channel_tag_(NULL) {}
56 const std::shared_ptr<ChannelInterface>& channel)
59 channel_tag_(channel->RegisterMethod(name)) {}
61 const char*
name()
const {
return name_; }
67 const char*
const name_;
69 void*
const channel_tag_;
74 #endif // GRPCXX_IMPL_CODEGEN_RPC_METHOD_H
Definition: rpc_method.h:48
void SetMethodType(RpcType type)
Definition: rpc_method.h:63
RpcType
Definition: rpc_method.h:45
RpcType method_type() const
Definition: rpc_method.h:62
Definition: rpc_method.h:47
void * channel_tag() const
Definition: rpc_method.h:64
Definition: rpc_method.h:43
RpcMethod(const char *name, RpcType type)
Definition: rpc_method.h:52
Definition: rpc_method.h:49
Definition: rpc_method.h:46
RpcMethod(const char *name, RpcType type, const std::shared_ptr< ChannelInterface > &channel)
Definition: rpc_method.h:55
const char * name() const
Definition: rpc_method.h:61