Template Class CallData¶
Defined in File grpc_server.cpp
Inheritance Relationships¶
Base Type¶
public amdinfer::CallDataBase
(Class CallDataBase)
Derived Types¶
public amdinfer::CallDataServerStream< RequestType, ReplyType >
(Template Class CallDataServerStream)public amdinfer::CallDataUnary< RequestType, ReplyType >
(Template Class CallDataUnary)
Class Documentation¶
-
template<typename RequestType, typename ReplyType>
class CallData : public amdinfer::CallDataBase¶ Subclassed by amdinfer::CallDataServerStream< RequestType, ReplyType >, amdinfer::CallDataUnary< RequestType, ReplyType >
Public Functions
-
inline CallData(AsyncService *service, ::grpc::ServerCompletionQueue *cq)¶
-
virtual ~CallData() = default¶
-
inline virtual void proceed() override¶
-
virtual void finish(const ::grpc::Status &status) = 0¶
Protected Types
Protected Functions
-
virtual void addNewCallData() = 0¶
-
virtual void waitForRequest() = 0¶
-
virtual void handleRequest() noexcept = 0¶
Protected Attributes
-
AsyncService *service_¶
-
::grpc::ServerCompletionQueue *cq_¶
-
::grpc::ServerContext ctx_¶
-
RequestType request_¶
-
CallStatus status_¶
-
inline CallData(AsyncService *service, ::grpc::ServerCompletionQueue *cq)¶