#include <interceptor.h>
Public Member Functions | |
virtual void | Intercept (InterceptorBatchMethods *methods)=0 |
virtual | ~Interceptor () |
Interface for an interceptor. Interceptor authors must create a class that derives from this parent class.
Definition at line 221 of file impl/codegen/interceptor.h.
|
inlinevirtual |
Definition at line 223 of file impl/codegen/interceptor.h.
|
pure virtual |
The one public method of an Interceptor interface. Override this to trigger the desired actions at the hook points described above.
Implemented in grpc::experimental::OrcaServerInterceptor, PhonyInterceptor, grpc::testing::MetadataAndStatusLoggerInterceptor, grpc::testing::TestInterceptor, grpc::testing::AdditionalMetadataInterceptor, and grpc::testing::PhonyInterceptor.