34 #ifndef GRPCXX_IMPL_RPC_METHOD_H
35 #define GRPCXX_IMPL_RPC_METHOD_H
53 : name_(name), method_type_(type), channel_tag_(NULL) {}
56 const std::shared_ptr<Channel>& channel)
59 channel_tag_(channel->RegisterMethod(name)) {}
61 const char*
name()
const {
return name_; }
66 const char*
const name_;
68 void*
const channel_tag_;
73 #endif // GRPCXX_IMPL_RPC_METHOD_H
Definition: rpc_method.h:48
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:63
Definition: rpc_method.h:43
RpcMethod(const char *name, RpcType type)
Definition: rpc_method.h:52
Definition: rpc_method.h:49
RpcMethod(const char *name, RpcType type, const std::shared_ptr< Channel > &channel)
Definition: rpc_method.h:55
Definition: rpc_method.h:46
const char * name() const
Definition: rpc_method.h:61