|
Squid Web Cache master
|
#include <BodyPipe.h>
Public Member Functions | |
| BodyPipeCheckout (BodyPipe &) | |
| ~BodyPipeCheckout () | |
| void | checkIn () |
Public Attributes | |
| BodyPipe & | thePipe |
| MemBuf & | buf |
| const uint64_t | offset |
Protected Attributes | |
| const size_t | checkedOutSize |
| bool | checkedIn |
Private Member Functions | |
| BodyPipeCheckout (const BodyPipeCheckout &) | |
| BodyPipeCheckout & | operator= (const BodyPipeCheckout &) |
Friends | |
| class | BodyPipe |
Makes raw buffer checkin/checkout interface efficient and exception-safe. Either append or consume operations can be performed on a checkedout buffer.
Definition at line 61 of file BodyPipe.h.
| BodyPipeCheckout::BodyPipeCheckout | ( | BodyPipe & | aPipe | ) |
Definition at line 483 of file BodyPipe.cc.
| BodyPipeCheckout::~BodyPipeCheckout | ( | ) |
Definition at line 489 of file BodyPipe.cc.
References checkedIn, BodyPipe::checkIn(), debugs, and thePipe.
|
private |
Definition at line 508 of file BodyPipe.cc.
References assert.
| void BodyPipeCheckout::checkIn | ( | ) |
Definition at line 501 of file BodyPipe.cc.
References assert, checkedIn, BodyPipe::checkIn(), and thePipe.
Referenced by ConnStateData::handleChunkedRequestBody(), Client::handleMoreAdaptedBodyAvailable(), ClientHttpRequest::noteMoreBodyDataAvailable(), and Adaptation::Icap::ModXact::parseBody().
|
private |
Definition at line 516 of file BodyPipe.cc.
References assert.
|
friend |
Definition at line 64 of file BodyPipe.h.
| MemBuf& BodyPipeCheckout::buf |
Definition at line 74 of file BodyPipe.h.
Referenced by ConnStateData::handleChunkedRequestBody(), Client::handleMoreAdaptedBodyAvailable(), ClientHttpRequest::noteMoreBodyDataAvailable(), and Adaptation::Icap::ModXact::parseBody().
|
protected |
Definition at line 79 of file BodyPipe.h.
Referenced by ~BodyPipeCheckout(), and checkIn().
|
protected |
Definition at line 78 of file BodyPipe.h.
Referenced by BodyPipe::checkIn(), and BodyPipe::undoCheckOut().
| const uint64_t BodyPipeCheckout::offset |
Definition at line 75 of file BodyPipe.h.
| BodyPipe& BodyPipeCheckout::thePipe |
Definition at line 73 of file BodyPipe.h.
Referenced by ~BodyPipeCheckout(), and checkIn().