diff options
author | 2015-08-20 11:40:12 -0700 | |
---|---|---|
committer | 2015-08-20 11:40:12 -0700 | |
commit | c2bd8a6d1a957276875ebecc72498d36daa12833 (patch) | |
tree | c2c0629e6a1fc5f0037eb298e8015b4b00761dec /include/grpc++/impl/rpc_method.h | |
parent | 431f8c2b5feecf202c484f6d0d1d7a0cf6f4be73 (diff) |
Fix server side and generic stub
Diffstat (limited to 'include/grpc++/impl/rpc_method.h')
-rw-r--r-- | include/grpc++/impl/rpc_method.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/impl/rpc_method.h b/include/grpc++/impl/rpc_method.h index 912ffab21f..9800268062 100644 --- a/include/grpc++/impl/rpc_method.h +++ b/include/grpc++/impl/rpc_method.h @@ -49,6 +49,9 @@ class RpcMethod { BIDI_STREAMING }; + RpcMethod(const char* name, RpcType type) + : name_(name), method_type_(type), channel_tag_(NULL) {} + RpcMethod(const char* name, RpcType type, const std::shared_ptr<Channel>& channel) : name_(name), |