diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
commit | 397cbe258b9e064f49c4ca575279f02f39fef76e (patch) | |
tree | a0b0eb3cca6a14e4e8ea715393637672fa651284 /contrib/libs/grpc/include/grpcpp/create_channel_posix.h | |
parent | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (diff) | |
download | ydb-397cbe258b9e064f49c4ca575279f02f39fef76e.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/include/grpcpp/create_channel_posix.h')
-rw-r--r-- | contrib/libs/grpc/include/grpcpp/create_channel_posix.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/contrib/libs/grpc/include/grpcpp/create_channel_posix.h b/contrib/libs/grpc/include/grpcpp/create_channel_posix.h index c6755b0aa6..23797dd63e 100644 --- a/contrib/libs/grpc/include/grpcpp/create_channel_posix.h +++ b/contrib/libs/grpc/include/grpcpp/create_channel_posix.h @@ -1,6 +1,6 @@ /* * - * Copyright 2016 gRPC authors. + * Copyright 2016 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,47 +19,47 @@ #ifndef GRPCPP_CREATE_CHANNEL_POSIX_H #define GRPCPP_CREATE_CHANNEL_POSIX_H -#include <memory> - -#include <grpc/support/port_platform.h> -#include <grpcpp/channel.h> -#include <grpcpp/support/channel_arguments.h> +#include <memory> +#include <grpc/support/port_platform.h> +#include <grpcpp/channel.h> +#include <grpcpp/support/channel_arguments.h> + namespace grpc { #ifdef GPR_SUPPORT_CHANNELS_FROM_FD -/// Create a new \a Channel communicating over the given file descriptor. -/// -/// \param target The name of the target. -/// \param fd The file descriptor representing a socket. -std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd( - const TString& target, int fd); +/// Create a new \a Channel communicating over the given file descriptor. +/// +/// \param target The name of the target. +/// \param fd The file descriptor representing a socket. +std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd( + const TString& target, int fd); -/// Create a new \a Channel communicating over given file descriptor with custom -/// channel arguments. -/// -/// \param target The name of the target. -/// \param fd The file descriptor representing a socket. -/// \param args Options for channel creation. -std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelFromFd( - const TString& target, int fd, const grpc::ChannelArguments& args); +/// Create a new \a Channel communicating over given file descriptor with custom +/// channel arguments. +/// +/// \param target The name of the target. +/// \param fd The file descriptor representing a socket. +/// \param args Options for channel creation. +std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelFromFd( + const TString& target, int fd, const grpc::ChannelArguments& args); namespace experimental { -/// Create a new \a Channel communicating over given file descriptor with custom -/// channel arguments. -/// -/// \param target The name of the target. -/// \param fd The file descriptor representing a socket. -/// \param args Options for channel creation. -/// \param interceptor_creators Vector of interceptor factory objects. -std::shared_ptr<grpc::Channel> +/// Create a new \a Channel communicating over given file descriptor with custom +/// channel arguments. +/// +/// \param target The name of the target. +/// \param fd The file descriptor representing a socket. +/// \param args Options for channel creation. +/// \param interceptor_creators Vector of interceptor factory objects. +std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelWithInterceptorsFromFd( - const TString& target, int fd, const grpc::ChannelArguments& args, + const TString& target, int fd, const grpc::ChannelArguments& args, std::unique_ptr<std::vector< - std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>>> - interceptor_creators); + std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>>> + interceptor_creators); } // namespace experimental |