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

SequencedBufferCollection.h File Reference


Namespaces

namespace  JetByteTools
namespace  JetByteTools::IO

Classes

class  CSequencedBufferCollection
 A class that manages a collection of IBuffer instances which have a unique and ascending sequence number in them. You are allowed to push buffers into the collection in any order and to retrieve them only in the correct sequence. If you try and retrieve a buffer when the required buffer is not present then the collection will return null. Typical usage is to ensure the correct ordering of multiple overlapped read completions. All buffers are pushed into the collection using GetNext() and a buffer is only returned to the caller for processing if it is the next in sequence. This class takes a reference on a buffer when it is added to the collection and requires that the user of a buffer that has been removed from the collection releases that reference when done. More...


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