Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Remove all possible traces of grpc::experimental for callback API (gr…
Browse files Browse the repository at this point in the history
  • Loading branch information
vjpai authored Jul 1, 2021
1 parent 28ec34a commit 3e19bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
27 changes: 0 additions & 27 deletions include/grpcpp/impl/codegen/client_callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -1226,32 +1226,5 @@ class ClientCallbackUnaryFactory {
};

} // namespace internal

// TODO(vjpai): Remove namespace experimental when de-experimentalized fully.
namespace experimental {

template <class Response>
using ClientCallbackReader = ::grpc::ClientCallbackReader<Response>;

template <class Request>
using ClientCallbackWriter = ::grpc::ClientCallbackWriter<Request>;

template <class Request, class Response>
using ClientCallbackReaderWriter =
::grpc::ClientCallbackReaderWriter<Request, Response>;

template <class Response>
using ClientReadReactor = ::grpc::ClientReadReactor<Response>;

template <class Request>
using ClientWriteReactor = ::grpc::ClientWriteReactor<Request>;

template <class Request, class Response>
using ClientBidiReactor = ::grpc::ClientBidiReactor<Request, Response>;

typedef ::grpc::ClientUnaryReactor ClientUnaryReactor;

} // namespace experimental

} // namespace grpc
#endif // GRPCPP_IMPL_CODEGEN_CLIENT_CALLBACK_H
11 changes: 2 additions & 9 deletions include/grpcpp/impl/codegen/server_callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -783,20 +783,13 @@ using UnimplementedBidiReactor =

} // namespace internal

// TODO(vjpai): Remove namespace experimental when de-experimentalized fully.
// TODO(vjpai): Remove namespace experimental when last known users are migrated
// off.
namespace experimental {

template <class Request>
using ServerReadReactor = ::grpc::ServerReadReactor<Request>;

template <class Response>
using ServerWriteReactor = ::grpc::ServerWriteReactor<Response>;

template <class Request, class Response>
using ServerBidiReactor = ::grpc::ServerBidiReactor<Request, Response>;

using ServerUnaryReactor = ::grpc::ServerUnaryReactor;

} // namespace experimental

} // namespace grpc
Expand Down

0 comments on commit 3e19bab

Please sign in to comment.