diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-03-28 10:11:46 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-03-28 10:11:46 +0300 |
commit | 14a9357e8d2d937e22b789d5aea09219a3e92c31 (patch) | |
tree | 9e899edffa271e32ae6272be3034a371b3742c2a /contrib/libs/grpc/include/grpcpp/channel.h | |
parent | 1911ec1bf2da9ae39eb5f31511a92b06b9631da1 (diff) | |
download | ydb-14a9357e8d2d937e22b789d5aea09219a3e92c31.tar.gz |
Update contrib/libs/grpc to 1.45.2
Diffstat (limited to 'contrib/libs/grpc/include/grpcpp/channel.h')
-rw-r--r-- | contrib/libs/grpc/include/grpcpp/channel.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/contrib/libs/grpc/include/grpcpp/channel.h b/contrib/libs/grpc/include/grpcpp/channel.h index 38decec377..25a4c4d5c6 100644 --- a/contrib/libs/grpc/include/grpcpp/channel.h +++ b/contrib/libs/grpc/include/grpcpp/channel.h @@ -51,10 +51,10 @@ void ChannelResetConnectionBackoff(Channel* channel); } // namespace experimental /// Channels represent a connection to an endpoint. Created by \a CreateChannel. -class Channel final : public ::grpc::ChannelInterface, - public ::grpc::internal::CallHook, +class Channel final : public grpc::ChannelInterface, + public grpc::internal::CallHook, public std::enable_shared_from_this<Channel>, - private ::grpc::GrpcLibraryCodegen { + private grpc::GrpcLibraryCodegen { public: ~Channel() override; @@ -71,38 +71,38 @@ class Channel final : public ::grpc::ChannelInterface, private: template <class InputMessage, class OutputMessage> - friend class ::grpc::internal::BlockingUnaryCallImpl; - friend class ::grpc::testing::ChannelTestPeer; + friend class grpc::internal::BlockingUnaryCallImpl; + friend class grpc::testing::ChannelTestPeer; friend void experimental::ChannelResetConnectionBackoff(Channel* channel); friend std::shared_ptr<Channel> grpc::CreateChannelInternal( const TString& host, grpc_channel* c_channel, std::vector<std::unique_ptr< - ::grpc::experimental::ClientInterceptorFactoryInterface>> + grpc::experimental::ClientInterceptorFactoryInterface>> interceptor_creators); - friend class ::grpc::internal::InterceptedChannel; + friend class grpc::internal::InterceptedChannel; Channel(const TString& host, grpc_channel* c_channel, std::vector<std::unique_ptr< - ::grpc::experimental::ClientInterceptorFactoryInterface>> + grpc::experimental::ClientInterceptorFactoryInterface>> interceptor_creators); - ::grpc::internal::Call CreateCall(const ::grpc::internal::RpcMethod& method, - ::grpc::ClientContext* context, - ::grpc::CompletionQueue* cq) override; - void PerformOpsOnCall(::grpc::internal::CallOpSetInterface* ops, - ::grpc::internal::Call* call) override; + grpc::internal::Call CreateCall(const grpc::internal::RpcMethod& method, + grpc::ClientContext* context, + grpc::CompletionQueue* cq) override; + void PerformOpsOnCall(grpc::internal::CallOpSetInterface* ops, + grpc::internal::Call* call) override; void* RegisterMethod(const char* method) override; void NotifyOnStateChangeImpl(grpc_connectivity_state last_observed, - gpr_timespec deadline, - ::grpc::CompletionQueue* cq, void* tag) override; + gpr_timespec deadline, grpc::CompletionQueue* cq, + void* tag) override; bool WaitForStateChangeImpl(grpc_connectivity_state last_observed, gpr_timespec deadline) override; - ::grpc::CompletionQueue* CallbackCQ() override; + grpc::CompletionQueue* CallbackCQ() override; - ::grpc::internal::Call CreateCallInternal( - const ::grpc::internal::RpcMethod& method, ::grpc::ClientContext* context, - ::grpc::CompletionQueue* cq, size_t interceptor_pos) override; + grpc::internal::Call CreateCallInternal( + const grpc::internal::RpcMethod& method, grpc::ClientContext* context, + grpc::CompletionQueue* cq, size_t interceptor_pos) override; const TString host_; grpc_channel* const c_channel_; // owned @@ -117,7 +117,7 @@ class Channel final : public ::grpc::ChannelInterface, std::atomic<CompletionQueue*> callback_cq_{nullptr}; std::vector< - std::unique_ptr<::grpc::experimental::ClientInterceptorFactoryInterface>> + std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>> interceptor_creators_; }; |