GRPC C++  1.30.0
method_handler.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2019 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H
20 #define GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H
21 
23 
24 namespace grpc {
25 
26 namespace internal {
27 
28 template <class ServiceType, class RequestType, class ResponseType>
30  ::grpc_impl::internal::BidiStreamingHandler<ServiceType, RequestType,
31  ResponseType>;
32 
33 template <class ServiceType, class RequestType, class ResponseType>
34 using RpcMethodHandler =
35  ::grpc_impl::internal::RpcMethodHandler<ServiceType, RequestType,
36  ResponseType>;
37 
38 template <class ServiceType, class RequestType, class ResponseType>
40  ::grpc_impl::internal::ClientStreamingHandler<ServiceType, RequestType,
41  ResponseType>;
42 
43 template <class ServiceType, class RequestType, class ResponseType>
45  ::grpc_impl::internal::ServerStreamingHandler<ServiceType, RequestType,
46  ResponseType>;
47 
48 template <class Streamer, bool WriteNeeded>
51 
52 template <class RequestType, class ResponseType>
55 
56 template <class RequestType, class ResponseType>
59  ResponseType>;
60 
61 template <StatusCode code>
63 
65 
68 
69 } // namespace internal
70 
71 } // namespace grpc
72 
73 #endif // GRPCPP_IMPL_CODEGEN_METHOD_HANDLER_H
grpc_impl::internal::ErrorMethodHandler
General method handler class for errors that prevent real method use e.g., handle unknown method by r...
Definition: byte_buffer.h:44
grpc::internal::UnknownMethodHandler
::grpc_impl::internal::UnknownMethodHandler UnknownMethodHandler
Definition: method_handler.h:64
grpc_impl::internal::ClientStreamingHandler
A wrapper class of an application provided client streaming handler.
Definition: completion_queue_impl.h:70
grpc
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
grpc_impl::internal::BidiStreamingHandler
Definition: method_handler_impl.h:296
grpc::internal::ResourceExhaustedHandler
::grpc_impl::internal::ResourceExhaustedHandler ResourceExhaustedHandler
Definition: method_handler.h:67
grpc_impl::internal::SplitServerStreamingHandler
Definition: method_handler_impl.h:331
grpc::internal::BidiStreamingHandler
::grpc_impl::internal::BidiStreamingHandler< ServiceType, RequestType, ResponseType > BidiStreamingHandler
Definition: method_handler.h:31
grpc_impl::internal::RpcMethodHandler
A wrapper class of an application provided rpc method handler.
Definition: byte_buffer.h:40
method_handler_impl.h
grpc_impl::internal::TemplatedBidiStreamingHandler
A wrapper class of an application provided bidi-streaming handler.
Definition: completion_queue_impl.h:74
grpc_impl::internal::ServerStreamingHandler
A wrapper class of an application provided server streaming handler.
Definition: byte_buffer.h:42
grpc_impl::internal::StreamedUnaryHandler
Definition: method_handler_impl.h:316