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

#include <TestHelper.h>

Inheritance diagram for PhonyInterceptor:
Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

static int GetNumTimesRun ()
 
static void Reset ()
 

Static Private Attributes

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

Detailed Description

Definition at line 43 of file TestHelper.h.

Constructor & Destructor Documentation

◆ PhonyInterceptor()

PhonyInterceptor::PhonyInterceptor ( )
inline

Definition at line 45 of file TestHelper.h.

Member Function Documentation

◆ GetNumTimesRun()

static int PhonyInterceptor::GetNumTimesRun ( )
static

◆ Intercept()

virtual void PhonyInterceptor::Intercept ( grpc::experimental::InterceptorBatchMethods methods)
virtual

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.

◆ Reset()

static void PhonyInterceptor::Reset ( )
static

Member Data Documentation

◆ num_times_run_

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

Definition at line 51 of file TestHelper.h.

◆ num_times_run_reverse_

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

Definition at line 52 of file TestHelper.h.


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


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