CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaskWrite Class Reference

#include <task_write.h>

Inheritance diagram for TaskWrite:
Collaboration diagram for TaskWrite:

Public Member Functions

 TaskWrite (Tube< BlockItem > *tube_in, TubeGroup< FileItem > *tubes_out, upload::AbstractUploader *uploader)
 
- Public Member Functions inherited from TubeConsumer< BlockItem >
virtual ~TubeConsumer ()
 

Protected Member Functions

virtual void Process (BlockItem *input_block)
 
- Protected Member Functions inherited from TubeConsumer< BlockItem >
 TubeConsumer (Tube< BlockItem > *tube)
 
virtual void OnTerminate ()
 

Private Member Functions

void OnBlockComplete (const upload::UploaderResults &results, BlockItem *block_item)
 
void OnChunkComplete (const upload::UploaderResults &results, ChunkItem *chunk_item)
 

Private Attributes

TubeGroup< FileItem > * tubes_out_
 
upload::AbstractUploaderuploader_
 

Additional Inherited Members

- Protected Attributes inherited from TubeConsumer< BlockItem >
Tube< BlockItem > * tube_
 

Detailed Description

This file is part of the CernVM File System.

Definition at line 13 of file task_write.h.

Constructor & Destructor Documentation

TaskWrite::TaskWrite ( Tube< BlockItem > *  tube_in,
TubeGroup< FileItem > *  tubes_out,
upload::AbstractUploader uploader 
)
inline

Definition at line 15 of file task_write.h.

Member Function Documentation

void TaskWrite::OnBlockComplete ( const upload::UploaderResults results,
BlockItem block_item 
)
private

This file is part of the CernVM File System.

Definition at line 15 of file task_write.cc.

Referenced by Process().

Here is the caller graph for this function:

void TaskWrite::OnChunkComplete ( const upload::UploaderResults results,
ChunkItem chunk_item 
)
private

Definition at line 27 of file task_write.cc.

Referenced by Process().

Here is the call graph for this function:

Here is the caller graph for this function:

void TaskWrite::Process ( BlockItem input_block)
protectedvirtual

Implements TubeConsumer< BlockItem >.

Definition at line 47 of file task_write.cc.

Here is the call graph for this function:

Member Data Documentation

TubeGroup<FileItem>* TaskWrite::tubes_out_
private

Definition at line 32 of file task_write.h.

Referenced by OnChunkComplete().

upload::AbstractUploader* TaskWrite::uploader_
private

Definition at line 33 of file task_write.h.

Referenced by Process().


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