The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CWriteAccumulationBuffer Class Reference

Inheritance diagram for CWriteAccumulationBuffer:
Collaboration diagram for CWriteAccumulationBuffer:

List of all members.

Public Types

typedef unsigned long DataSize
typedef unsigned long BufferCount

Public Member Functions

 CWriteAccumulationBuffer (JetByteTools::Core::ILockableObject &lock, DataSize maxSize, JetByteTools::Core::IIndexedOpaqueUserData::UserDataIndex writeBufferProtectionIndex)
 CWriteAccumulationBuffer (const CWriteAccumulationBuffer &rhs)
CWriteAccumulationBufferoperator= (const CWriteAccumulationBuffer &rhs)
void SetMaxSize (DataSize maxSize)
void * PrepareData (MessageType &messageType)
void UseData ()
void AddBuffer (JetByteTools::IO::CSmartBuffer &buffer)
void * GetData () const
DataSize GetDataSize () const
BufferCount BuffersConsumed ()
BufferCount Purge ()
bool IsEmpty () const

Protected Types


Protected Attributes

JetByteTools::IO::CSortedBufferProcessor m_bufferList
ByteBuffer m_buffer
JetByteTools::IO::CSmartBuffer m_currentBuffer
DataSize m_used
DataSize m_maxSize
BufferCount m_buffersConsumed
BufferCount m_buffersAccumulated

Member Typedef Documentation

typedef unsigned long DataSize [inherited]

typedef unsigned long BufferCount [inherited]

typedef JetByteTools::Core::TExpandableBuffer<BYTE> ByteBuffer [protected, inherited]

Constructor & Destructor Documentation

Member Function Documentation

CWriteAccumulationBuffer& operator= ( const CWriteAccumulationBuffer rhs  ) 

void SetMaxSize ( DataSize  maxSize  ) 

void * PrepareData ( MessageType messageType  ) 

void UseData (  ) 

void AddBuffer ( JetByteTools::IO::CSmartBuffer buffer  )  [inherited]

void * GetData (  )  const [inherited]

CAccumulationBuffer::DataSize GetDataSize (  )  const [inherited]

CAccumulationBuffer::BufferCount BuffersConsumed (  )  [inherited]

CAccumulationBuffer::BufferCount Purge (  )  [inherited]

bool IsEmpty (  )  const [inherited]

Member Data Documentation

ByteBuffer m_buffer [protected, inherited]

DataSize m_used [protected, inherited]

DataSize m_maxSize [protected, inherited]

BufferCount m_buffersConsumed [protected, inherited]

BufferCount m_buffersAccumulated [protected, inherited]

Generated on Sun Sep 12 19:10:55 2021 for The Server Framework - v7.4 by doxygen 1.5.3