Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
grpc::testing::PhonyInterceptor Class Reference

#include <interceptors_util.h>

Inheritance diagram for grpc::testing::PhonyInterceptor:
Inheritance graph
[legend]

Public Member Functions

void Intercept (experimental::InterceptorBatchMethods *methods) override
 
 PhonyInterceptor ()
 
- Public Member Functions inherited from grpc::experimental::Interceptor
virtual ~Interceptor ()
 

Static Public Member Functions

static int GetNumTimesCancel ()
 
static int GetNumTimesRun ()
 
static void Reset ()
 

Static Private Attributes

static std::atomic< intnum_times_cancel_
 
static std::atomic< intnum_times_run_
 
static std::atomic< intnum_times_run_reverse_
 

Detailed Description

Definition at line 32 of file interceptors_util.h.

Constructor & Destructor Documentation

◆ PhonyInterceptor()

grpc::testing::PhonyInterceptor::PhonyInterceptor ( )
inline

Definition at line 34 of file interceptors_util.h.

Member Function Documentation

◆ GetNumTimesCancel()

static int grpc::testing::PhonyInterceptor::GetNumTimesCancel ( )
inlinestatic

Definition at line 62 of file interceptors_util.h.

◆ GetNumTimesRun()

static int grpc::testing::PhonyInterceptor::GetNumTimesRun ( )
inlinestatic

Definition at line 57 of file interceptors_util.h.

◆ Intercept()

void grpc::testing::PhonyInterceptor::Intercept ( experimental::InterceptorBatchMethods methods)
inlineoverridevirtual

The one public method of an Interceptor interface. Override this to trigger the desired actions at the hook points described above.

Implements grpc::experimental::Interceptor.

Definition at line 36 of file interceptors_util.h.

◆ Reset()

static void grpc::testing::PhonyInterceptor::Reset ( )
inlinestatic

Definition at line 51 of file interceptors_util.h.

Member Data Documentation

◆ num_times_cancel_

std::atomic< int > PhonyInterceptor::num_times_cancel_
staticprivate

Definition at line 67 of file interceptors_util.h.

◆ num_times_run_

std::atomic< int > PhonyInterceptor::num_times_run_
staticprivate

Definition at line 65 of file interceptors_util.h.

◆ num_times_run_reverse_

std::atomic< int > PhonyInterceptor::num_times_run_reverse_
staticprivate

Definition at line 66 of file interceptors_util.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34