18 #ifndef GRPCPP_IMPL_CODEGEN_CALL_H 19 #define GRPCPP_IMPL_CODEGEN_CALL_H 25 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),
63 max_receive_message_size_(max_receive_message_size),
64 server_rpc_info_(rpc_info) {}
67 call_hook_->PerformOpsOnCall(ops,
this);
76 return client_rpc_info_;
80 return server_rpc_info_;
87 int max_receive_message_size_;
94 #endif // GRPCPP_IMPL_CODEGEN_CALL_H struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
Call(grpc_call *call, CallHook *call_hook, CompletionQueue *cq, int max_receive_message_size, experimental::ServerRpcInfo *rpc_info)
Definition: call.h:58
Call(grpc_call *call, CallHook *call_hook, CompletionQueue *cq)
call is owned by the caller
Definition: call.h:44
CompletionQueue * cq() const
Definition: call.h:71
Call(grpc_call *call, CallHook *call_hook, CompletionQueue *cq, experimental::ClientRpcInfo *rpc_info)
Definition: call.h:50
grpc_call * call() const
Definition: call.h:70
ServerRpcInfo represents the state of a particular RPC as it appears to an interceptor.
Definition: server_interceptor.h:58
experimental::ServerRpcInfo * server_rpc_info() const
Definition: call.h:79
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
experimental::ClientRpcInfo * client_rpc_info() const
Definition: call.h:75
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue.h).
Definition: completion_queue.h:97
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
int max_receive_message_size() const
Definition: call.h:73
void PerformOps(CallOpSetInterface *ops)
Definition: call.h:66
This is an interface that Channel and Server implement to allow them to hook performing ops...
Definition: call_hook.h:30
Definition: client_interceptor.h:66
Straightforward wrapping of the C call object.
Definition: call.h:36
Call()
Definition: call.h:38