5 #ifndef CVMFS_NETWORK_JOBINFO_H_
6 #define CVMFS_NETWORK_JOBINFO_H_
125 JobInfo(
const std::string *u,
const bool c,
const bool ph,
131 JobInfo(
const std::string *u,
const bool ph);
175 const std::string*
url()
const {
return url_; }
280 #endif // CVMFS_NETWORK_JOBINFO_H_
const std::string * extra_info_
z_stream * GetZstreamPtr()
void SetInfoHeader(char *info_header)
void SetHashContext(shash::ContextPtr hash_context)
shash::ContextPtr * GetHashContextPtr()
UniquePtr< Pipe< kPipeDownloadJobsResults > > pipe_job_results
Pipe used for the return value.
const shash::Any * expected_hash_
curl_slist ** GetHeadersPtr()
void SetCurrentHostChainIndex(int current_host_chain_index)
UniquePtr< Tube< DataTubeElement > > data_tube_
const std::string * url() const
bool allow_failure() const
CURL * curl_handle() const
unsigned char num_used_hosts_
void SetRangeOffset(off_t range_offset)
void SetTracingHeaderGid(char *tracing_header_gid)
void SetNocache(bool nocache)
void SetTracingHeaderPid(char *tracing_header_pid)
shash::ContextPtr hash_context_
Tube< DataTubeElement > * GetDataTubePtr()
char * tracing_header_gid() const
char * info_header() const
static atomic_int64 next_uuid
unsigned char num_used_proxies_
bool force_nocache() const
void SetZstream(z_stream zstream)
int current_metalink_chain_index_
void SetLink(const std::string &link)
off_t range_offset() const
void SetInterruptCue(InterruptCue *interrupt_cue)
unsigned char num_used_hosts() const
bool follow_redirects() const
void SetNumUsedMetalinks(unsigned char num_used_metalinks)
Pipe< kPipeDownloadJobsResults > * GetPipeJobResultPtr()
void SetHttpCode(int http_code)
bool head_request() const
unsigned char num_retries() const
bool IsValidPipeJobResults()
void SetCurrentMetalinkChainIndex(int current_metalink_chain_index)
cvmfs::Sink * sink() const
char * tracing_header_uid_
DataTubeElement(char *mov_data, size_t xsize, DataTubeAction xact)
void SetForceNocache(bool force_nocache)
char * tracing_header_pid_
std::string proxy() const
void SetNumRetries(unsigned char num_retries)
void SetExpectedHash(const shash::Any *expected_hash)
InterruptCue * interrupt_cue() const
InterruptCue ** GetInterruptCuePtr()
shash::ContextPtr hash_context() const
char * tracing_header_gid_
void SetRangeSize(off_t range_size)
DataTubeElement(DataTubeAction xact)
void SetCompressed(bool compressed)
char * tracing_header_uid() const
Failures error_code() const
void SetErrorCode(Failures error_code)
void SetNumUsedProxies(unsigned char num_used_proxies)
void SetHeadRequest(bool head_request)
int current_metalink_chain_index() const
void SetSink(cvmfs::Sink *sink)
unsigned char num_retries_
void SetExtraInfo(const std::string *extra_info)
InterruptCue * interrupt_cue_
void CreatePipeJobResults()
unsigned char num_used_metalinks() const
void SetCurlHandle(CURL *curl_handle)
void SetTracingHeaderUid(char *tracing_header_uid)
int current_host_chain_index_
curl_slist * headers() const
const shash::Any * expected_hash() const
void SetUrl(const std::string *url)
void SetCredData(void *cred_data)
const std::string * extra_info() const
void SetProxy(const std::string &proxy)
unsigned backoff_ms() const
unsigned char num_used_proxies() const
int current_host_chain_index() const
void SetAllowFailure(bool allow_failure)
void SetProbeHosts(bool probe_hosts)
void SetNumUsedHosts(unsigned char num_used_hosts)
void SetHeaders(curl_slist *headers)
char * tracing_header_pid() const
void SetBackoffMs(unsigned backoff_ms)
void SetFollowRedirects(bool follow_redirects)
unsigned char num_used_metalinks_
Failures * GetErrorCodePtr()