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

CMemoryCacheStreamDataFile Class Reference

Inheritance diagram for CMemoryCacheStreamDataFile:
Collaboration diagram for CMemoryCacheStreamDataFile:

List of all members.

Public Member Functions

 CMemoryCacheStreamDataFile (IStreamDataFileFactory &dataFileFactory, const JetByteTools::Core::_tstring &filepath, JetByteTools::IO::IAllocateBuffers &bufferAllocator, JetByteTools::IO::IAllocateBufferHandles &handleAllocator)
void FileComplete (INotifyOnMemoryCacheStreamWritten &callback, UserData userData)
const std::string & GetFileName () const
size_t GetFileSize () const
void SaveData (JetByteTools::IO::CSmartBuffer &buffer) override
void SaveData (const BYTE *pData, DWORD dataLength) override
void Release () override
void Release (INotifyOnLastStreamDataWrite &callback, INotifyOnLastStreamDataWrite::UserData userData) override

Protected Member Functions

virtual ~CMemoryCacheStreamDataFile ()
void GetBuffers (JetByteTools::IO::CBufferChain &buffers) const
void AddRef ()

Constructor & Destructor Documentation

~CMemoryCacheStreamDataFile (  )  [protected, virtual]

Member Function Documentation

void FileComplete ( INotifyOnMemoryCacheStreamWritten callback,
UserData  userData 

const string & GetFileName (  )  const

size_t GetFileSize (  )  const

void SaveData ( JetByteTools::IO::CSmartBuffer buffer  )  [override, virtual]

Implements ISaveStreamData.

void SaveData ( const BYTE pData,
DWORD  dataLength 
) [override, virtual]

Implements ISaveStreamData.

void Release (  )  [override, virtual]

Implements ISaveStreamData.

Reimplemented in CHLSMemoryCacheResourceData.

void Release ( INotifyOnLastStreamDataWrite callback,
INotifyOnLastStreamDataWrite::UserData  userData 
) [override, virtual]

Implements ISaveStreamData.

void GetBuffers ( JetByteTools::IO::CBufferChain buffers  )  const [protected]

void AddRef (  )  [protected]

Reimplemented in CHLSMemoryCacheResourceData.

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