#include <StoreIOBuffer.h>

Collaboration diagram for StoreIOBuffer:

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
 
StoreIOBufferpositionAt (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]

StoreIOBuffer::StoreIOBuffer ( )
inline

Definition at line 19 of file StoreIOBuffer.h.

References flags.

◆ StoreIOBuffer() [2/4]

StoreIOBuffer::StoreIOBuffer ( size_t  aLength,
int64_t  anOffset,
char *  someData 
)
inline

Definition at line 21 of file StoreIOBuffer.h.

References flags.

◆ StoreIOBuffer() [3/4]

StoreIOBuffer::StoreIOBuffer ( MemBuf aMemBuf,
int64_t  anOffset 
)
inline

Definition at line 28 of file StoreIOBuffer.h.

References flags.

◆ StoreIOBuffer() [4/4]

StoreIOBuffer::StoreIOBuffer ( MemBuf aMemBuf,
int64_t  anOffset,
size_t  anLength 
)
inline

Definition at line 35 of file StoreIOBuffer.h.

References flags.

Member Function Documentation

◆ dump()

void StoreIOBuffer::dump ( ) const
inline

Definition at line 49 of file StoreIOBuffer.h.

References data, and length.

◆ positionAt()

StoreIOBuffer & StoreIOBuffer::positionAt ( const int64_t  newOffset)
inline

Definition at line 47 of file StoreIOBuffer.h.

References offset.

Referenced by asHandleReply(), netdbExchangeHandleReply(), store_client::readBody(), and urnHandleReply().

◆ range()

Range< int64_t > StoreIOBuffer::range ( ) const
inline

Member Data Documentation

◆ data

◆ error

◆ 

◆ 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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors