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

Public Member Functions

void Reset () override
 
bool RunNextState (bool ok) override
 
 ServerRpcContextStreamingFromServerImpl (std::function< void(ServerContextType *, RequestType *, grpc::ServerAsyncWriter< ResponseType > *, void *)> request_method, std::function< grpc::Status(RequestType *, ResponseType *)> invoke_method)
 
 ~ServerRpcContextStreamingFromServerImpl () 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 request_done (bool ok)
 
bool write_done (bool ok)
 

Private Attributes

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

Detailed Description

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

Definition at line 456 of file server_async.cc.

Constructor & Destructor Documentation

◆ ServerRpcContextStreamingFromServerImpl()

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

Definition at line 459 of file server_async.cc.

◆ ~ServerRpcContextStreamingFromServerImpl()

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

Definition at line 472 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 >::ServerRpcContextStreamingFromServerImpl::finish_done ( bool  )
inlineprivate

Definition at line 510 of file server_async.cc.

◆ request_done()

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

Definition at line 486 of file server_async.cc.

◆ Reset()

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

◆ RunNextState()

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

◆ write_done()

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

Definition at line 499 of file server_async.cc.

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 >::ServerRpcContextStreamingFromServerImpl::invoke_method_
private

Definition at line 519 of file server_async.cc.

◆ next_state_

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

Definition at line 515 of file server_async.cc.

◆ req_

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

Definition at line 513 of file server_async.cc.

◆ request_method_

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

Definition at line 518 of file server_async.cc.

◆ response_

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

Definition at line 514 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 >::ServerRpcContextStreamingFromServerImpl::srv_ctx_
private

Definition at line 512 of file server_async.cc.

◆ stream_

template<class RequestType , class ResponseType , class ServiceType , class ServerContextType >
grpc::ServerAsyncWriter<ResponseType> grpc::testing::AsyncQpsServerTest< RequestType, ResponseType, ServiceType, ServerContextType >::ServerRpcContextStreamingFromServerImpl::stream_
private

Definition at line 520 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