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

CAccumulationBuffer Class Reference

Inheritance diagram for CAccumulationBuffer:
Collaboration diagram for CAccumulationBuffer:

List of all members.

Public Types

typedef unsigned long DataSize
typedef unsigned long BufferCount

Public Member Functions

 CAccumulationBuffer (const CAccumulationBuffer &rhs)
CAccumulationBufferoperator= (const CAccumulationBuffer &rhs)
void AddBuffer (JetByteTools::IO::CSmartBuffer &buffer)
void * GetData () const
DataSize GetDataSize () const
BufferCount BuffersConsumed ()
BufferCount Purge ()
bool IsEmpty () const

Protected Types


Protected Member Functions

 CAccumulationBuffer (JetByteTools::Core::ILockableObject &lock, DataSize maxSize)
virtual ~CAccumulationBuffer ()

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

typedef unsigned long BufferCount

Constructor & Destructor Documentation

CAccumulationBuffer ( JetByteTools::Core::ILockableObject lock,
DataSize  maxSize 
) [protected]

virtual ~CAccumulationBuffer (  )  [protected, virtual]

Member Function Documentation

CAccumulationBuffer& operator= ( const CAccumulationBuffer rhs  ) 

void AddBuffer ( JetByteTools::IO::CSmartBuffer buffer  ) 

void * GetData (  )  const

CAccumulationBuffer::DataSize GetDataSize (  )  const

CAccumulationBuffer::BufferCount BuffersConsumed (  ) 

bool IsEmpty (  )  const

Member Data Documentation

ByteBuffer m_buffer [protected]

DataSize m_used [protected]

DataSize m_maxSize [protected]

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