bes Updated for version 3.20.10
dmrpp::SwimLane Class Reference

#include <CurlHandlePool.h>

Collaboration diagram for dmrpp::SwimLane:
Collaboration graph

Public Member Functions

void add_handle (dmrpp_easy_handle *h)
 
 SwimLane (CurlHandlePool &pool)
 
 SwimLane (CurlHandlePool &pool, dmrpp_easy_handle *h)
 

Detailed Description

Holds a collection of dmrpp_easy_handles that are being used together on a single logical transfer. By definition, if one of these fails, they all fail, are stopped and the easy handles reset and returned to the pool. This class is used to protect leaking handles when one thread of a parallel transfer fails and an exception is thrown taking the flow of control out of the handler to the command processor loop.

Definition at line 148 of file CurlHandlePool.h.

Constructor & Destructor Documentation

◆ SwimLane() [1/2]

dmrpp::SwimLane::SwimLane ( CurlHandlePool pool)
inline

Definition at line 152 of file CurlHandlePool.h.

◆ SwimLane() [2/2]

dmrpp::SwimLane::SwimLane ( CurlHandlePool pool,
dmrpp_easy_handle h 
)
inline

Definition at line 155 of file CurlHandlePool.h.

◆ ~SwimLane()

virtual dmrpp::SwimLane::~SwimLane ( )
inlinevirtual

Definition at line 160 of file CurlHandlePool.h.

Member Function Documentation

◆ add_handle()

void dmrpp::SwimLane::add_handle ( dmrpp_easy_handle h)
inline

Definition at line 167 of file CurlHandlePool.h.


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