caosdb/file_transmission/register_file_upload_handler.h

namespace caosdb::transaction

Creation and execution of transactions.

Author

Timm Fitschen

Date

2021-08-05

class RegisterFileUploadHandler : public caosdb::transaction::UnaryRpcHandler

Public Functions

RegisterFileUploadHandler(HandlerTag tag, FileTransmissionService::Stub *stub, grpc::CompletionQueue *completion_queue, RegisterFileUploadRequest *request, RegisterFileUploadResponse *response)
~RegisterFileUploadHandler()
RegisterFileUploadHandler(const RegisterFileUploadHandler&) = delete
RegisterFileUploadHandler &operator=(const RegisterFileUploadHandler&) = delete
RegisterFileUploadHandler(RegisterFileUploadHandler&&) = delete
RegisterFileUploadHandler &operator=(RegisterFileUploadHandler&&) = delete

Protected Functions

virtual void handleNewCallState() override

Protected Attributes

HandlerTag tag_
FileTransmissionService::Stub *stub_
std::unique_ptr<grpc::ClientAsyncResponseReader<RegisterFileUploadResponse>> rpc_
RegisterFileUploadRequest *request_
RegisterFileUploadResponse *response_