bes  Updated for version 3.20.6
dmrpp::dmrpp_easy_handle Class Reference

Bundle a libcurl easy handle to other information. More...

#include <CurlHandlePool.h>

Collaboration diagram for dmrpp::dmrpp_easy_handle:
Collaboration graph

Public Member Functions

 dmrpp_easy_handle ()
 Build a string with hex info about stuff libcurl gets. More...
 
void read_data ()
 This is the read_data() method for serial transfers. More...
 

Friends

class CurlHandlePool
 
class dmrpp_multi_handle
 

Detailed Description

Bundle a libcurl easy handle to 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 with the 'multi' API and a libcurl multi handle for parallel (round robin) data transfers.

Definition at line 61 of file CurlHandlePool.h.

Constructor & Destructor Documentation

◆ dmrpp_easy_handle()

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 218 of file CurlHandlePool.cc.

Member Function Documentation

◆ read_data()

void dmrpp_easy_handle::read_data ( )

This is the read_data() method for serial transfers.

Todo:
Modify re-try so it's only done for AWS and/or if an option is set.

Definition at line 313 of file CurlHandlePool.cc.


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