Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CALL_H
20 #define GRPCPP_IMPL_CALL_H
25 class CompletionQueue;
26 namespace experimental {
31 class CallOpSetInterface;
36 Call() : cq_(nullptr), call_(nullptr), max_receive_message_size_(-1) {}
39 : cq_(
cq), call_(
call), max_receive_message_size_(-1) {}
45 max_receive_message_size_(-1),
46 client_rpc_info_(rpc_info) {}
53 server_rpc_info_(rpc_info) {}
61 return client_rpc_info_;
65 return server_rpc_info_;
71 int max_receive_message_size_;
78 #endif // GRPCPP_IMPL_CALL_H
grpc::CompletionQueue * cq() const
Definition: call.h:56
int max_receive_message_size() const
Definition: call.h:58
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, grpc::CompletionQueue *cq)
call is owned by the caller
Definition: call.h:38
Straightforward wrapping of the C call object.
Definition: call.h:34
Call()
Definition: call.h:36
Definition: client_interceptor.h:71
Call(grpc_call *call, grpc::CompletionQueue *cq, experimental::ClientRpcInfo *rpc_info)
Definition: call.h:41
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:68
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:64
grpc_call * call() const
Definition: call.h:55
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....
Definition: completion_queue.h:104
Call(grpc_call *call, grpc::CompletionQueue *cq, int max_receive_message_size, experimental::ServerRpcInfo *rpc_info)
Definition: call.h:48
experimental::ClientRpcInfo * client_rpc_info() const
Definition: call.h:60