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

#include <stress_interop_client.h>

Public Member Functions

void MainLoop (const std::shared_ptr< QpsGauge > &qps_gauge)
 
 StressTestInteropClient (int test_id, const std::string &server_address, ChannelCreationFunc channel_creation_func, const WeightedRandomTestSelector &test_selector, long test_duration_secs, long sleep_duration_ms, bool do_not_abort_on_transient_failures)
 

Private Member Functions

bool RunTest (TestCaseType test_case)
 

Private Attributes

ChannelCreationFunc channel_creation_func_
 
std::unique_ptr< InteropClientinterop_client_
 
const std::string & server_address_
 
long sleep_duration_ms_
 
long test_duration_secs_
 
int test_id_
 
const WeightedRandomTestSelectortest_selector_
 

Detailed Description

Definition at line 92 of file stress_interop_client.h.

Constructor & Destructor Documentation

◆ StressTestInteropClient()

grpc::testing::StressTestInteropClient::StressTestInteropClient ( int  test_id,
const std::string &  server_address,
ChannelCreationFunc  channel_creation_func,
const WeightedRandomTestSelector test_selector,
long  test_duration_secs,
long  sleep_duration_ms,
bool  do_not_abort_on_transient_failures 
)

Definition at line 69 of file stress_interop_client.cc.

Member Function Documentation

◆ MainLoop()

void grpc::testing::StressTestInteropClient::MainLoop ( const std::shared_ptr< QpsGauge > &  qps_gauge)

Definition at line 83 of file stress_interop_client.cc.

◆ RunTest()

bool grpc::testing::StressTestInteropClient::RunTest ( TestCaseType  test_case)
private

Definition at line 117 of file stress_interop_client.cc.

Member Data Documentation

◆ channel_creation_func_

ChannelCreationFunc grpc::testing::StressTestInteropClient::channel_creation_func_
private

Definition at line 109 of file stress_interop_client.h.

◆ interop_client_

std::unique_ptr<InteropClient> grpc::testing::StressTestInteropClient::interop_client_
private

Definition at line 110 of file stress_interop_client.h.

◆ server_address_

const std::string& grpc::testing::StressTestInteropClient::server_address_
private

Definition at line 108 of file stress_interop_client.h.

◆ sleep_duration_ms_

long grpc::testing::StressTestInteropClient::sleep_duration_ms_
private

Definition at line 113 of file stress_interop_client.h.

◆ test_duration_secs_

long grpc::testing::StressTestInteropClient::test_duration_secs_
private

Definition at line 112 of file stress_interop_client.h.

◆ test_id_

int grpc::testing::StressTestInteropClient::test_id_
private

Definition at line 107 of file stress_interop_client.h.

◆ test_selector_

const WeightedRandomTestSelector& grpc::testing::StressTestInteropClient::test_selector_
private

Definition at line 111 of file stress_interop_client.h.


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


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