grpcpp/impl/codegen/call_hook.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 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_CALL_HOOK_H
20 #define GRPCPP_IMPL_CODEGEN_CALL_HOOK_H
21 
22 // IWYU pragma: private
23 
24 namespace grpc {
25 
26 namespace internal {
27 class CallOpSetInterface;
28 class Call;
29 
32 class CallHook {
33  public:
34  virtual ~CallHook() {}
35  virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
36 };
37 } // namespace internal
38 
39 } // namespace grpc
40 
41 #endif // GRPCPP_IMPL_CODEGEN_CALL_HOOK_H
grpc::internal::CallHook
Definition: grpcpp/impl/codegen/call_hook.h:32
grpc
Definition: grpcpp/alarm.h:33
grpc::internal::CallOpSetInterface
Definition: call_op_set_interface.h:36
call
FilterStackCall * call
Definition: call.cc:750
Call
Definition: api_fuzzer.cc:319
grpc::internal::Call
Straightforward wrapping of the C call object.
Definition: include/grpcpp/impl/codegen/call.h:37
grpc::internal::CallHook::~CallHook
virtual ~CallHook()
Definition: grpcpp/impl/codegen/call_hook.h:34
internal
Definition: benchmark/test/output_test_helper.cc:20
ops
static grpc_op ops[6]
Definition: test/core/fling/client.cc:39
grpc::internal::CallHook::PerformOpsOnCall
virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call)=0


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:42