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

#include <caching_interceptor.h>

Inheritance diagram for CachingInterceptor:
Inheritance graph
[legend]

Public Member Functions

 CachingInterceptor (grpc::experimental::ClientRpcInfo *info)
 
void Intercept (::grpc::experimental::InterceptorBatchMethods *methods) override
 
- Public Member Functions inherited from grpc::experimental::Interceptor
virtual void Intercept (InterceptorBatchMethods *methods)=0
 
virtual ~Interceptor ()
 

Private Attributes

std::map< std::string, std::string > cached_map_
 
grpc::ClientContext context_
 
std::string response_
 
std::unique_ptr< grpc::ClientReaderWriter< keyvaluestore::Request, keyvaluestore::Response > > stream_
 
std::unique_ptr< keyvaluestore::KeyValueStore::Stub > stub_
 

Detailed Description

Definition at line 33 of file caching_interceptor.h.

Constructor & Destructor Documentation

◆ CachingInterceptor()

CachingInterceptor::CachingInterceptor ( grpc::experimental::ClientRpcInfo info)
inline

Definition at line 35 of file caching_interceptor.h.

Member Function Documentation

◆ Intercept()

void CachingInterceptor::Intercept ( ::grpc::experimental::InterceptorBatchMethods methods)
inlineoverride

Definition at line 37 of file caching_interceptor.h.

Member Data Documentation

◆ cached_map_

std::map<std::string, std::string> CachingInterceptor::cached_map_
private

Definition at line 123 of file caching_interceptor.h.

◆ context_

grpc::ClientContext CachingInterceptor::context_
private

Definition at line 118 of file caching_interceptor.h.

◆ response_

std::string CachingInterceptor::response_
private

Definition at line 124 of file caching_interceptor.h.

◆ stream_

std::unique_ptr< grpc::ClientReaderWriter<keyvaluestore::Request, keyvaluestore::Response> > CachingInterceptor::stream_
private

Definition at line 122 of file caching_interceptor.h.

◆ stub_

std::unique_ptr<keyvaluestore::KeyValueStore::Stub> CachingInterceptor::stub_
private

Definition at line 119 of file caching_interceptor.h.


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


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