Remove some grpc_impl::

pull/21915/head
Vijay Pai 5 years ago
parent 152f46b5f6
commit 7aaacb4bd9
  1. 15
      include/grpcpp/generic/generic_stub_impl.h

@ -99,7 +99,7 @@ class GenericStub final {
void PrepareUnaryCall(ClientContext* context, const grpc::string& method, void PrepareUnaryCall(ClientContext* context, const grpc::string& method,
const grpc::ByteBuffer* request, const grpc::ByteBuffer* request,
grpc::ByteBuffer* response, grpc::ByteBuffer* response,
grpc_impl::ClientUnaryReactor* reactor) { ClientUnaryReactor* reactor) {
PrepareUnaryCallInternal(context, method, request, response, reactor); PrepareUnaryCallInternal(context, method, request, response, reactor);
} }
@ -108,8 +108,7 @@ class GenericStub final {
/// until StartCall is invoked on its reactor. /// until StartCall is invoked on its reactor.
void PrepareBidiStreamingCall( void PrepareBidiStreamingCall(
ClientContext* context, const grpc::string& method, ClientContext* context, const grpc::string& method,
grpc_impl::ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* reactor) {
reactor) {
PrepareBidiStreamingCallInternal(context, method, reactor); PrepareBidiStreamingCallInternal(context, method, reactor);
} }
#endif #endif
@ -137,7 +136,7 @@ class GenericStub final {
void PrepareUnaryCall(ClientContext* context, const grpc::string& method, void PrepareUnaryCall(ClientContext* context, const grpc::string& method,
const grpc::ByteBuffer* request, const grpc::ByteBuffer* request,
grpc::ByteBuffer* response, grpc::ByteBuffer* response,
grpc_impl::ClientUnaryReactor* reactor) { ClientUnaryReactor* reactor) {
stub_->PrepareUnaryCallInternal(context, method, request, response, stub_->PrepareUnaryCallInternal(context, method, request, response,
reactor); reactor);
} }
@ -147,8 +146,7 @@ class GenericStub final {
/// until StartCall is invoked on its reactor. /// until StartCall is invoked on its reactor.
void PrepareBidiStreamingCall( void PrepareBidiStreamingCall(
ClientContext* context, const grpc::string& method, ClientContext* context, const grpc::string& method,
grpc_impl::ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* reactor) {
reactor) {
stub_->PrepareBidiStreamingCallInternal(context, method, reactor); stub_->PrepareBidiStreamingCallInternal(context, method, reactor);
} }
@ -179,7 +177,7 @@ class GenericStub final {
const grpc::string& method, const grpc::string& method,
const grpc::ByteBuffer* request, const grpc::ByteBuffer* request,
grpc::ByteBuffer* response, grpc::ByteBuffer* response,
grpc_impl::ClientUnaryReactor* reactor) { ClientUnaryReactor* reactor) {
internal::ClientCallbackUnaryFactory::Create<grpc::ByteBuffer, internal::ClientCallbackUnaryFactory::Create<grpc::ByteBuffer,
grpc::ByteBuffer>( grpc::ByteBuffer>(
channel_.get(), channel_.get(),
@ -190,8 +188,7 @@ class GenericStub final {
void PrepareBidiStreamingCallInternal( void PrepareBidiStreamingCallInternal(
ClientContext* context, const grpc::string& method, ClientContext* context, const grpc::string& method,
grpc_impl::ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* ClientBidiReactor<grpc::ByteBuffer, grpc::ByteBuffer>* reactor) {
reactor) {
internal::ClientCallbackReaderWriterFactory<grpc::ByteBuffer, internal::ClientCallbackReaderWriterFactory<grpc::ByteBuffer,
grpc::ByteBuffer>:: grpc::ByteBuffer>::
Create(channel_.get(), Create(channel_.get(),

Loading…
Cancel
Save