/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H #define GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H #include namespace grpc { namespace internal { typedef ::grpc_impl::internal::ClientAsyncStreamingInterface ClientAsyncStreamingInterface; template using AsyncReaderInterface = ::grpc_impl::internal::AsyncReaderInterface; template using AsyncWriterInterface = ::grpc_impl::internal::AsyncWriterInterface; } // namespace internal template using ClientAsyncReaderInterface = ::grpc_impl::ClientAsyncReaderInterface; template using ClientAsyncReader = ::grpc_impl::ClientAsyncReader; template using ClientAsyncWriterInterface = ::grpc_impl::ClientAsyncWriterInterface; template using ClientAsyncWriter = ::grpc_impl::ClientAsyncWriter; template using ClientAsyncReaderWriterInterface = ::grpc_impl::ClientAsyncReaderWriterInterface; template using ClientAsyncReaderWriter = ::grpc_impl::ClientAsyncReaderWriter; template using ServerAsyncReaderInterface = ::grpc_impl::ServerAsyncReaderInterface; template using ServerAsyncReader = ::grpc_impl::ServerAsyncReader; template using ServerAsyncWriterInterface = ::grpc_impl::ServerAsyncWriterInterface; template using ServerAsyncWriter = ::grpc_impl::ServerAsyncWriter; template using ServerAsyncReaderWriterInterface = ::grpc_impl::ServerAsyncReaderWriterInterface; template using ServerAsyncReaderWriter = ::grpc_impl::ServerAsyncReaderWriter; namespace internal { template using ClientAsyncReaderFactory = ::grpc_impl::internal::ClientAsyncReaderFactory; template using ClientAsyncWriterFactory = ::grpc_impl::internal::ClientAsyncWriterFactory; template using ClientAsyncReaderWriterFactory = ::grpc_impl::internal::ClientAsyncReaderWriterFactory; } // namespace internal } // namespace grpc #endif // GRPCPP_IMPL_CODEGEN_ASYNC_STREAM_H