5 #ifndef CVMFS_RECEIVER_PAYLOAD_PROCESSOR_H_
6 #define CVMFS_RECEIVER_PAYLOAD_PROCESSOR_H_
49 const std::string& path, uint64_t header_size);
78 #endif // CVMFS_RECEIVER_PAYLOAD_PROCESSOR_H_
virtual Result Finalize()
upload::UploadStreamHandle * handle
FileInfo & operator=(const FileInfo &other)
UniquePtr< upload::AbstractUploader > uploader_
UniquePtr< perf::StatisticsTemplate > statistics_
virtual ~PayloadProcessor()
virtual void OnUploadJobComplete(const upload::UploaderResults &results, void *buffer)
virtual Result Initialize()
virtual void ConsumerEventCallback(const ObjectPackBuild::Event &event)
std::vector< unsigned char > hash_buffer
shash::ContextPtr hash_context
std::map< shash::Any, FileInfo > pending_files_
UniquePtr< RaiiTempDir > temp_dir_
Result Process(int fdin, const std::string &header_digest, const std::string &path, uint64_t header_size)
std::map< shash::Any, FileInfo >::iterator FileIterator
std::string current_repo_
void SetStatistics(perf::Statistics *st)