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

#include <jobinfo.h>

Inheritance diagram for download::DataTubeElement:
Collaboration diagram for download::DataTubeElement:

Public Member Functions

 DataTubeElement (DataTubeAction xact)
 
 DataTubeElement (char *mov_data, size_t xsize, DataTubeAction xact)
 
 ~DataTubeElement ()
 

Public Attributes

char * data
 
size_t size
 
DataTubeAction action
 

Additional Inherited Members

- Protected Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Wrapper for the data tube to transfer data from CallbackCurlData() that is executed in MainDownload() Thread to Fetch() called by a fuse thread

TODO(heretherebedragons): do we want to have a pool of those datatubeelements?

Definition at line 46 of file jobinfo.h.

Constructor & Destructor Documentation

download::DataTubeElement::DataTubeElement ( DataTubeAction  xact)
inlineexplicit

Definition at line 51 of file jobinfo.h.

download::DataTubeElement::DataTubeElement ( char *  mov_data,
size_t  xsize,
DataTubeAction  xact 
)
inline

Definition at line 53 of file jobinfo.h.

download::DataTubeElement::~DataTubeElement ( )
inline

Definition at line 56 of file jobinfo.h.

Member Data Documentation

DataTubeAction download::DataTubeElement::action

Definition at line 49 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

char* download::DataTubeElement::data

Definition at line 47 of file jobinfo.h.

Referenced by ~DataTubeElement().

size_t download::DataTubeElement::size

Definition at line 48 of file jobinfo.h.


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