aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/rpc_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc++/impl/codegen/rpc_method.h')
-rw-r--r--include/grpc++/impl/codegen/rpc_method.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/rpc_method.h b/include/grpc++/impl/codegen/rpc_method.h
index 53bee3727e..728ba3e334 100644
--- a/include/grpc++/impl/codegen/rpc_method.h
+++ b/include/grpc++/impl/codegen/rpc_method.h
@@ -61,11 +61,12 @@ class RpcMethod {
const char* name() const { return name_; }
RpcType method_type() const { return method_type_; }
+ void SetMethodType(RpcType type) { method_type_ = type; }
void* channel_tag() const { return channel_tag_; }
private:
const char* const name_;
- const RpcType method_type_;
+ RpcType method_type_;
void* const channel_tag_;
};