#include <StoreIOBuffer.h>
Public Member Functions | |
StoreIOBuffer () | |
StoreIOBuffer (size_t aLength, int64_t anOffset, char *someData) | |
StoreIOBuffer (MemBuf *aMemBuf, int64_t anOffset) | |
StoreIOBuffer (MemBuf *aMemBuf, int64_t anOffset, size_t anLength) | |
Range< int64_t > | range () const |
StoreIOBuffer & | positionAt (const int64_t newOffset) |
convenience method for changing the offset of a being-configured buffer More... | |
void | dump () const |
Public Attributes | |
struct { | |
unsigned error:1 | |
} | flags |
size_t | length |
int64_t | offset |
char * | data |
Detailed Description
Definition at line 15 of file StoreIOBuffer.h.
Constructor & Destructor Documentation
◆ StoreIOBuffer() [1/4]
|
inline |
Definition at line 19 of file StoreIOBuffer.h.
References flags.
◆ StoreIOBuffer() [2/4]
|
inline |
Definition at line 21 of file StoreIOBuffer.h.
References flags.
◆ StoreIOBuffer() [3/4]
|
inline |
Definition at line 28 of file StoreIOBuffer.h.
References flags.
◆ StoreIOBuffer() [4/4]
Definition at line 35 of file StoreIOBuffer.h.
References flags.
Member Function Documentation
◆ dump()
|
inline |
Definition at line 49 of file StoreIOBuffer.h.
◆ positionAt()
|
inline |
Definition at line 47 of file StoreIOBuffer.h.
References offset.
Referenced by asHandleReply(), netdbExchangeHandleReply(), store_client::readBody(), and urnHandleReply().
◆ range()
|
inline |
Definition at line 42 of file StoreIOBuffer.h.
References length, and offset.
Referenced by mem_hdr::copy(), operator<<(), Http::Stream::packChunk(), Http::Stream::packRange(), Http::Stream::sendBody(), Http::Stream::sendStartOfMessage(), and mem_hdr::write().
Member Data Documentation
◆ data
char* StoreIOBuffer::data |
Definition at line 59 of file StoreIOBuffer.h.
Referenced by ConnStateData::abortRequestParsing(), StoreEntry::append(), asHandleReply(), ConnStateData::buildFakeRequest(), Downloader::buildRequest(), clientBeginRequest(), store_client::copy(), mem_hdr::copy(), mem_hdr::copyAvailable(), MemStore::copyFromShm(), dump(), esiBufferRecipient(), esiProcessStream(), esiStreamRead(), store_client::fileRead(), store_client::finishCallback(), Ftp::Server::handleDataReply(), Downloader::handleReply(), Http::One::Server::handleReply(), clientReplyContext::matchesStreamBodyBuffer(), netdbExchangeHandleReply(), operator<<(), Http::Stream::packChunk(), Http::Stream::packRange(), ConnStateData::parseHttpRequest(), Ftp::Server::parseOneRequest(), peerDigestHandleReply(), peerDigestRequest(), clientReplyContext::processReplyAccessResult(), Http::Stream::pullData(), store_client::readBody(), Mgr::StoreToCommWriter::scheduleCommWrite(), ESIContext::send(), Http::Stream::sendBody(), clientReplyContext::sendMoreData(), Http::Stream::sendStartOfMessage(), urnHandleReply(), mem_hdr::write(), and mem_hdr::writeAvailable().
◆ error
unsigned StoreIOBuffer::error |
Definition at line 55 of file StoreIOBuffer.h.
Referenced by asHandleReply(), clientReplyContext::cacheHit(), clientReplyContext::errorInStream(), clientReplyContext::handleIMSReply(), Downloader::handleReply(), clientReplyContext::matchesStreamBodyBuffer(), netdbExchangeHandleReply(), Mgr::StoreToCommWriter::noteStoreCopied(), operator<<(), peerDigestHandleReply(), clientReplyContext::sendStreamError(), and urnHandleReply().
◆
struct { ... } StoreIOBuffer::flags |
Referenced by StoreIOBuffer(), asHandleReply(), clientReplyContext::cacheHit(), clientReplyContext::errorInStream(), clientReplyContext::handleIMSReply(), Downloader::handleReply(), clientReplyContext::matchesStreamBodyBuffer(), netdbExchangeHandleReply(), Mgr::StoreToCommWriter::noteStoreCopied(), operator<<(), peerDigestHandleReply(), clientReplyContext::sendStreamError(), and urnHandleReply().
◆ length
size_t StoreIOBuffer::length |
Definition at line 57 of file StoreIOBuffer.h.
Referenced by ConnStateData::abortRequestParsing(), StoreEntry::append(), asHandleReply(), ConnStateData::buildFakeRequest(), Downloader::buildRequest(), store_client::bytesWanted(), clientBeginRequest(), store_client::copy(), mem_hdr::copy(), mem_hdr::copyAvailable(), MemStore::copyFromShm(), MemStore::copyFromShmSlice(), doPages(), dump(), store_client::dumpStats(), mem_node::end(), esiBufferRecipient(), esiProcessStream(), esiStreamRead(), store_client::fileRead(), store_client::finishCallback(), mem_hdr::getBlockContainingLocation(), Ftp::Server::handleDataReply(), Client::handleMoreAdaptedBodyAvailable(), Downloader::handleReply(), Http::One::Server::handleReply(), main(), clientReplyContext::matchesStreamBodyBuffer(), store_client::maybeWriteFromDiskToMemory(), store_client::moreToRead(), netdbExchangeHandleReply(), mem_hdr::nodeToRecieve(), ClientHttpRequest::noteMoreBodyDataAvailable(), Mgr::StoreToCommWriter::noteStoreCopied(), operator<<(), ConnStateData::parseHttpRequest(), Ftp::Server::parseOneRequest(), peerDigestHandleReply(), peerDigestRequest(), clientReplyContext::processReplyAccessResult(), Http::Stream::pullData(), clientReplyContext::pushStreamData(), range(), store_client::readBody(), Mgr::StoreToCommWriter::scheduleCommWrite(), ESIContext::send(), clientReplyContext::sendMoreData(), Http::Stream::sendStartOfMessage(), store_client::skipHttpHeadersFromDisk(), mem_node::space(), testSplayOfNodes(), mem_hdr::unionNotEmpty(), urnHandleReply(), MemObject::write(), mem_hdr::write(), StoreEntry::write(), and mem_hdr::writeAvailable().
◆ offset
int64_t StoreIOBuffer::offset |
Definition at line 58 of file StoreIOBuffer.h.
Referenced by StoreEntry::append(), asHandleReply(), store_client::copy(), mem_hdr::copy(), mem_hdr::copyAvailable(), MemStore::copyFromShmSlice(), store_client::dumpStats(), mem_node::end(), esiBufferRecipient(), esiProcessStream(), esiStreamRead(), store_client::fileRead(), store_client::finishCallback(), Downloader::handleReply(), mem_hdr::lowestOffset(), main(), store_client::maybeWriteFromDiskToMemory(), store_client::moreToRead(), netdbExchangeHandleReply(), store_client::nextHttpReadOffset(), operator<<(), peerDigestHandleReply(), peerDigestRequest(), positionAt(), clientReplyContext::processReplyAccessResult(), Http::Stream::pullData(), clientReplyContext::pushStreamData(), range(), store_client::readBody(), store_client::readOffset(), ESIContext::send(), clientReplyContext::sendClientOldEntry(), mem_node::start(), store_client::tryParsingHttpHeaders(), mem_hdr::unionNotEmpty(), MemObject::write(), mem_hdr::write(), StoreEntry::write(), and mem_hdr::writeAvailable().
The documentation for this class was generated from the following file:
- src/StoreIOBuffer.h