Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl Class Referencefinal
Inheritance diagram for grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl:
Inheritance graph
[legend]

Public Member Functions

void Reset () override
 
bool RunNextState (bool ok) override
 
 ServerRpcContextStreamingFromClientImpl (std::function< void(ServerContextType *, grpc::ServerAsyncReader< ResponseType, RequestType > *, void *)> request_method, std::function< grpc::Status(RequestType *, ResponseType *)> invoke_method)
 
 ~ServerRpcContextStreamingFromClientImpl () override
 
- Public Member Functions inherited from grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContext
void lock ()
 
 ServerRpcContext ()
 
void unlock ()
 
virtual ~ServerRpcContext ()
 

Private Member Functions

bool finish_done (bool)
 
bool read_done (bool ok)
 
bool request_done (bool ok)
 

Private Attributes

std::function< grpc::Status(RequestType *, ResponseType *)> invoke_method_
 
bool(ServerRpcContextStreamingFromClientImpl::* next_state_ )(bool)
 
RequestType req_
 
std::function< void(ServerContextType *, grpc::ServerAsyncReader< ResponseType, RequestType > *, void *)> request_method_
 
ResponseType response_
 
std::unique_ptr< ServerContextType > srv_ctx_
 
grpc::ServerAsyncReader< ResponseType, RequestType > stream_
 

Detailed Description

template<class RequestType, class ResponseType, class ServiceType, class ServerContextType>
class grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl

Definition at line 387 of file server_async.cc.

Constructor & Destructor Documentation

◆ ServerRpcContextStreamingFromClientImpl()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::ServerRpcContextStreamingFromClientImpl ( std::function< void(ServerContextType *, grpc::ServerAsyncReader< ResponseType, RequestType > *, void *)>  request_method,
std::function< grpc::Status(RequestType *, ResponseType *)>  invoke_method 
)
inline

Definition at line 390 of file server_async.cc.

◆ ~ServerRpcContextStreamingFromClientImpl()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::~ServerRpcContextStreamingFromClientImpl ( )
inlineoverride

Definition at line 403 of file server_async.cc.

Member Function Documentation

◆ finish_done()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
bool grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::finish_done ( bool  )
inlineprivate

Definition at line 442 of file server_async.cc.

◆ read_done()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
bool grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::read_done ( bool  ok)
inlineprivate

Definition at line 426 of file server_async.cc.

◆ request_done()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
bool grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::request_done ( bool  ok)
inlineprivate

Definition at line 417 of file server_async.cc.

◆ Reset()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
void grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::Reset ( )
inlineoverridevirtual

◆ RunNextState()

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
bool grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::RunNextState ( bool  ok)
inlineoverridevirtual

Member Data Documentation

◆ invoke_method_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
std::function<grpc::Status(RequestType*, ResponseType*)> grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::invoke_method_
private

Definition at line 452 of file server_async.cc.

◆ next_state_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
bool(ServerRpcContextStreamingFromClientImpl::* grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::next_state_) (bool)
private

Definition at line 447 of file server_async.cc.

◆ req_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
RequestType grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::req_
private

Definition at line 445 of file server_async.cc.

◆ request_method_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
std::function<void(ServerContextType*, grpc::ServerAsyncReader<ResponseType, RequestType>*, void*)> grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::request_method_
private

Definition at line 451 of file server_async.cc.

◆ response_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
ResponseType grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::response_
private

Definition at line 446 of file server_async.cc.

◆ srv_ctx_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
std::unique_ptr<ServerContextType> grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::srv_ctx_
private

Definition at line 444 of file server_async.cc.

◆ stream_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
grpc::ServerAsyncReader<ResponseType, RequestType> grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromClientImpl::stream_
private

Definition at line 453 of file server_async.cc.


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


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