FILE_XFER Class Reference

#include <file_xfer.h>

Inheritance diagram for FILE_XFER:

Inheritance graph
[legend]
Collaboration diagram for FILE_XFER:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FILE_XFER ()
 ~FILE_XFER ()
int parse_upload_response (double &offset)
int init_download (FILE_INFO &)
int init_upload (FILE_INFO &)

Public Attributes

FILE_INFOfip
char pathname [256]
char header [4096]
bool file_size_query
bool is_upload
double starting_size
bool file_xfer_done
int file_xfer_retval


Constructor & Destructor Documentation

FILE_XFER::FILE_XFER (  ) 

FILE_XFER::~FILE_XFER (  ) 


Member Function Documentation

int FILE_XFER::parse_upload_response ( double &  offset  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int FILE_XFER::init_download ( FILE_INFO file_info  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int FILE_XFER::init_upload ( FILE_INFO file_info  ) 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

char FILE_XFER::header[4096]

File size at start of transfer, used for: 1) a "minimum download increment" that rejects partial downloads of less than 5K, since these may be error messages from proxies. 2) lets us recover when server ignored Range request and sent us whole file


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

Generated on Mon Oct 6 10:45:08 2008 for BOINC by  doxygen 1.5.6