bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Bundle a libcurl easy handle with other information. More...
#include <CurlHandlePool.h>
Public Member Functions | |
dmrpp_easy_handle () | |
Build a string with hex info about stuff libcurl gets. | |
void | read_data () |
This is the read_data() method for all transfers. | |
Friends | |
class | CurlHandlePool |
Bundle a libcurl easy handle with other information.
Provide an object that encapsulates a libcurl easy handle, a URL and a DMR++ handler 'chunk.' This can be used with the libcurl 'easy' API for serial data access or parallel (round robin) data transfers.
Definition at line 47 of file CurlHandlePool.h.
dmrpp_easy_handle::dmrpp_easy_handle | ( | ) |
Build a string with hex info about stuff libcurl gets.
Unused, but might be useful someday.
Definition at line 168 of file CurlHandlePool.cc.
dmrpp_easy_handle::~dmrpp_easy_handle | ( | ) |
Definition at line 212 of file CurlHandlePool.cc.
void dmrpp_easy_handle::read_data | ( | ) |
This is the read_data() method for all transfers.
This method is used by Chunk::read_data() which is used for all data transfers by the dmrpp module classes (DmrppArray, D4Opaque, and Common::read_atomic()). Whether a request is retired is determined by curl::super_easy_perform().
If either the super_easy_perform() (our concoction) or easy_perform() throws, assume the transfer failed. The caller of this method must handle all cleanup.
Definition at line 229 of file CurlHandlePool.cc.
|
friend |
Definition at line 56 of file CurlHandlePool.h.