Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService > Class Template Reference

#include <xds_end2end_test_lib.h>

Inheritance diagram for grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >:
Inheritance graph
[legend]

Public Member Functions

 BackendServiceImpl ()
 
std::set< std::string > clients ()
 
Status Echo (ServerContext *context, const EchoRequest *request, EchoResponse *response) override
 
Status Echo1 (ServerContext *context, const EchoRequest *request, EchoResponse *response) override
 
Status Echo2 (ServerContext *context, const EchoRequest *request, EchoResponse *response) override
 
const std::vector< std::string > & last_peer_identity ()
 
void Shutdown ()
 
void Start ()
 
- Public Member Functions inherited from grpc::testing::CountedService< TestMultipleServiceImpl< RpcService > >
void IncreaseRequestCount ()
 
void IncreaseResponseCount ()
 
size_t request_count ()
 
void ResetCounters ()
 
size_t response_count ()
 
- Public Member Functions inherited from grpc::testing::TestMultipleServiceImpl< RpcService >
Status BidiStream (ServerContext *context, ServerReaderWriter< EchoResponse, EchoRequest > *stream)
 
Status CheckClientInitialMetadata (ServerContext *context, const SimpleRequest *, SimpleResponse *)
 
void ClientWaitUntilRpcStarted ()
 
Status Echo (ServerContext *context, const EchoRequest *request, EchoResponse *response)
 
Status Echo1 (ServerContext *context, const EchoRequest *request, EchoResponse *response)
 
Status Echo2 (ServerContext *context, const EchoRequest *request, EchoResponse *response)
 
Status RequestStream (ServerContext *context, ServerReader< EchoRequest > *reader, EchoResponse *response)
 
Status ResponseStream (ServerContext *context, const EchoRequest *request, ServerWriter< EchoResponse > *writer)
 
uint64_t RpcsWaitingForClientCancel ()
 
bool signal_client ()
 
void SignalServerToContinue ()
 
 TestMultipleServiceImpl ()
 
 TestMultipleServiceImpl (const std::string &host)
 

Private Member Functions

std::set< std::string > clients_ ABSL_GUARDED_BY (mu_)
 
std::vector< std::string > last_peer_identity_ ABSL_GUARDED_BY (mu_)
 

Private Attributes

grpc_core::Mutex mu_
 

Detailed Description

template<typename RpcService>
class grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >

Definition at line 288 of file xds_end2end_test_lib.h.

Constructor & Destructor Documentation

◆ BackendServiceImpl()

Definition at line 291 of file xds_end2end_test_lib.h.

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/2]

template<typename RpcService >
std::set<std::string> clients_ grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::ABSL_GUARDED_BY ( mu_  )
privatevirtual

◆ ABSL_GUARDED_BY() [2/2]

template<typename RpcService >
std::vector<std::string> last_peer_identity_ grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::ABSL_GUARDED_BY ( mu_  )
privatevirtual

◆ clients()

template<typename RpcService >
std::set<std::string> grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::clients ( )
inline

Definition at line 326 of file xds_end2end_test_lib.h.

◆ Echo()

template<typename RpcService >
Status grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::Echo ( ServerContext context,
const EchoRequest *  request,
EchoResponse *  response 
)
inlineoverride

Definition at line 293 of file xds_end2end_test_lib.h.

◆ Echo1()

template<typename RpcService >
Status grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::Echo1 ( ServerContext context,
const EchoRequest *  request,
EchoResponse *  response 
)
inlineoverride

Definition at line 313 of file xds_end2end_test_lib.h.

◆ Echo2()

template<typename RpcService >
Status grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::Echo2 ( ServerContext context,
const EchoRequest *  request,
EchoResponse *  response 
)
inlineoverride

Definition at line 318 of file xds_end2end_test_lib.h.

◆ last_peer_identity()

template<typename RpcService >
const std::vector<std::string>& grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::last_peer_identity ( )
inline

Definition at line 331 of file xds_end2end_test_lib.h.

◆ Shutdown()

template<typename RpcService >
void grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::Shutdown ( )
inline

Definition at line 324 of file xds_end2end_test_lib.h.

◆ Start()

template<typename RpcService >
void grpc::testing::XdsEnd2endTest::BackendServerThread::BackendServiceImpl< RpcService >::Start ( )
inline

Definition at line 323 of file xds_end2end_test_lib.h.

Member Data Documentation

◆ mu_

Definition at line 337 of file xds_end2end_test_lib.h.


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


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