CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
upload::UploadStreamHandle Struct Reference

#include <upload_facility.h>

Inheritance diagram for upload::UploadStreamHandle:

Public Types

typedef
AbstractUploader::CallbackTN 
CallbackTN
 

Public Member Functions

 UploadStreamHandle (const CallbackTN *commit_callback)
 
virtual ~UploadStreamHandle ()
 

Public Attributes

const CallbackTNcommit_callback
 
int64_t tag
 
std::string remote_path
 

Static Public Attributes

static atomic_int64 g_upload_stream_tag = 0
 

Detailed Description

Each implementation of AbstractUploader must provide its own derivate of the UploadStreamHandle that is supposed to contain state information for the streamed upload of one specific chunk. Each UploadStreamHandle contains a callback object that is invoked as soon as the streamed upload is committed.

Definition at line 469 of file upload_facility.h.

Member Typedef Documentation

typedef AbstractUploader::CallbackTN upload::UploadStreamHandle::CallbackTN

Definition at line 470 of file upload_facility.h.

Constructor & Destructor Documentation

upload::UploadStreamHandle::UploadStreamHandle ( const CallbackTN commit_callback)
inlineexplicit

Definition at line 473 of file upload_facility.h.

virtual upload::UploadStreamHandle::~UploadStreamHandle ( )
inlinevirtual

Definition at line 476 of file upload_facility.h.

Member Data Documentation

atomic_int64 upload::UploadStreamHandle::g_upload_stream_tag = 0
static

Definition at line 471 of file upload_facility.h.

int64_t upload::UploadStreamHandle::tag

Definition at line 480 of file upload_facility.h.


The documentation for this struct was generated from the following files: