Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
grpc::testing::CommonStressTest< Service > Class Template Referenceabstract
Inheritance diagram for grpc::testing::CommonStressTest< Service >:
Inheritance graph
[legend]

Public Member Functions

virtual bool AllowExhaustion ()=0
 
 CommonStressTest ()
 
grpc::testing::EchoTestService::Stub * GetStub ()
 
virtual void ResetStub ()=0
 
virtual void SetUp ()=0
 
virtual void TearDown ()=0
 
virtual ~CommonStressTest ()
 

Protected Member Functions

void SetUpEnd (ServerBuilder *builder)
 
virtual void SetUpStart (ServerBuilder *builder, Service *service)=0
 
void SetUpStartCommon (ServerBuilder *builder, Service *service)
 
void TearDownEnd ()
 
void TearDownStart ()
 

Protected Attributes

std::unique_ptr< Serverserver_
 
std::unique_ptr< grpc::testing::EchoTestService::Stub > stub_
 

Private Attributes

const int kMaxMessageSize_
 

Detailed Description

template<class Service>
class grpc::testing::CommonStressTest< Service >

Definition at line 67 of file thread_stress_test.cc.

Constructor & Destructor Documentation

◆ CommonStressTest()

template<class Service >
grpc::testing::CommonStressTest< Service >::CommonStressTest ( )
inline

Definition at line 69 of file thread_stress_test.cc.

◆ ~CommonStressTest()

template<class Service >
virtual grpc::testing::CommonStressTest< Service >::~CommonStressTest ( )
inlinevirtual

Definition at line 75 of file thread_stress_test.cc.

Member Function Documentation

◆ AllowExhaustion()

template<class Service >
virtual bool grpc::testing::CommonStressTest< Service >::AllowExhaustion ( )
pure virtual

◆ GetStub()

template<class Service >
grpc::testing::EchoTestService::Stub* grpc::testing::CommonStressTest< Service >::GetStub ( )
inline

Definition at line 80 of file thread_stress_test.cc.

◆ ResetStub()

template<class Service >
virtual void grpc::testing::CommonStressTest< Service >::ResetStub ( )
pure virtual

◆ SetUp()

template<class Service >
virtual void grpc::testing::CommonStressTest< Service >::SetUp ( )
pure virtual

◆ SetUpEnd()

template<class Service >
void grpc::testing::CommonStressTest< Service >::SetUpEnd ( ServerBuilder builder)
inlineprotected

Definition at line 92 of file thread_stress_test.cc.

◆ SetUpStart()

template<class Service >
virtual void grpc::testing::CommonStressTest< Service >::SetUpStart ( ServerBuilder builder,
Service service 
)
protectedpure virtual

◆ SetUpStartCommon()

template<class Service >
void grpc::testing::CommonStressTest< Service >::SetUpStartCommon ( ServerBuilder builder,
Service service 
)
inlineprotected

Definition at line 87 of file thread_stress_test.cc.

◆ TearDown()

template<class Service >
virtual void grpc::testing::CommonStressTest< Service >::TearDown ( )
pure virtual

◆ TearDownEnd()

template<class Service >
void grpc::testing::CommonStressTest< Service >::TearDownEnd ( )
inlineprotected

Definition at line 94 of file thread_stress_test.cc.

◆ TearDownStart()

template<class Service >
void grpc::testing::CommonStressTest< Service >::TearDownStart ( )
inlineprotected

Definition at line 93 of file thread_stress_test.cc.

Member Data Documentation

◆ kMaxMessageSize_

template<class Service >
const int grpc::testing::CommonStressTest< Service >::kMaxMessageSize_
private

Definition at line 97 of file thread_stress_test.cc.

◆ server_

template<class Service >
std::unique_ptr<Server> grpc::testing::CommonStressTest< Service >::server_
protected

Definition at line 84 of file thread_stress_test.cc.

◆ stub_

template<class Service >
std::unique_ptr<grpc::testing::EchoTestService::Stub> grpc::testing::CommonStressTest< Service >::stub_
protected

Definition at line 83 of file thread_stress_test.cc.


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


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