Go to the documentation of this file.
18 #ifndef GRPCPP_IMPL_CODEGEN_CALL_H
19 #define GRPCPP_IMPL_CODEGEN_CALL_H
29 namespace experimental {
35 class CallOpSetInterface;
41 : call_hook_(nullptr),
44 max_receive_message_size_(-1) {}
47 : call_hook_(call_hook),
50 max_receive_message_size_(-1) {}
54 : call_hook_(call_hook),
57 max_receive_message_size_(-1),
58 client_rpc_info_(rpc_info) {}
62 : call_hook_(call_hook),
66 server_rpc_info_(rpc_info) {}
78 return client_rpc_info_;
82 return server_rpc_info_;
89 int max_receive_message_size_;
96 #endif // GRPCPP_IMPL_CODEGEN_CALL_H
int max_receive_message_size() const
Definition: call.h:75
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
This is an interface that Channel and Server implement to allow them to hook performing ops.
Definition: call_hook.h:30
::grpc_impl::CompletionQueue CompletionQueue
Definition: completion_queue.h:26
Straightforward wrapping of the C call object.
Definition: call.h:38
Call(grpc_call *call, CallHook *call_hook, ::grpc_impl::CompletionQueue *cq)
call is owned by the caller
Definition: call.h:46
Call()
Definition: call.h:40
Definition: client_interceptor.h:69
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call_op_set_interface.h:34
ServerRpcInfo represents the state of a particular RPC as it appears to an interceptor.
Definition: server_interceptor.h:60
experimental::ServerRpcInfo * server_rpc_info() const
Definition: call.h:81
virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call)=0
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....
Definition: completion_queue_impl.h:103
Call(grpc_call *call, CallHook *call_hook, ::grpc_impl::CompletionQueue *cq, int max_receive_message_size, experimental::ServerRpcInfo *rpc_info)
Definition: call.h:60
void PerformOps(CallOpSetInterface *ops)
Definition: call.h:68
grpc_call * call() const
Definition: call.h:72
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm_impl.h:33
::grpc_impl::CompletionQueue * cq() const
Definition: call.h:73
Call(grpc_call *call, CallHook *call_hook, ::grpc_impl::CompletionQueue *cq, experimental::ClientRpcInfo *rpc_info)
Definition: call.h:52
experimental::ClientRpcInfo * client_rpc_info() const
Definition: call.h:77