Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CALL_H
20 #define GRPCPP_IMPL_CALL_H
26 class CompletionQueue;
27 namespace experimental {
33 class CallOpSetInterface;
39 : call_hook_(nullptr),
42 max_receive_message_size_(-1) {}
45 : call_hook_(call_hook),
48 max_receive_message_size_(-1) {}
52 : call_hook_(call_hook),
55 max_receive_message_size_(-1),
56 client_rpc_info_(rpc_info) {}
60 : call_hook_(call_hook),
64 server_rpc_info_(rpc_info) {}
76 return client_rpc_info_;
80 return server_rpc_info_;
87 int max_receive_message_size_;
94 #endif // GRPCPP_IMPL_CALL_H
grpc::CompletionQueue * cq() const
Definition: call.h:71
int max_receive_message_size() const
Definition: call.h:73
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
Call(grpc_call *call, CallHook *call_hook, grpc::CompletionQueue *cq, int max_receive_message_size, experimental::ServerRpcInfo *rpc_info)
Definition: call.h:58
This is an interface that Channel and Server implement to allow them to hook performing ops.
Definition: call_hook.h:30
Straightforward wrapping of the C call object.
Definition: call.h:36
Call()
Definition: call.h:38
Definition: client_interceptor.h:72
Call(grpc_call *call, CallHook *call_hook, grpc::CompletionQueue *cq)
call is owned by the caller
Definition: call.h:44
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:69
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:36
ServerRpcInfo represents the state of a particular RPC as it appears to an interceptor.
Definition: server_interceptor.h:59
experimental::ServerRpcInfo * server_rpc_info() const
Definition: call.h:79
virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call)=0
void PerformOps(CallOpSetInterface *ops)
Definition: call.h:66
grpc_call * call() const
Definition: call.h:70
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....
Definition: completion_queue.h:105
Call(grpc_call *call, CallHook *call_hook, grpc::CompletionQueue *cq, experimental::ClientRpcInfo *rpc_info)
Definition: call.h:50
experimental::ClientRpcInfo * client_rpc_info() const
Definition: call.h:75