#ifndef _CUMULATE_BUFFER_H_ #define _CUMULATE_BUFFER_H_ class CBuffer; class CSession; // ÆÐŶ ´©Àû¹öÆÛ class CCumulateBuffer { public: CCumulateBuffer(unsigned long BufferLength, CSession* pSession); ~CCumulateBuffer(); char* GetBuffer(unsigned int Length); // ÇÒ´çµÈ ¹öÆÛ ¾ò±â bool SendAll(); // ÇöÀç ¹öÆÛ¿¡ ÀÖ´Â ³»¿ëÀ» ÀüºÎ º¸³»±â // »ç¿ëÁßÀÎ ¹öÆÛ±æÀÌ °­Á¦ Á¶Á¤ void ResizeLength(unsigned int FillLength) { m_FillLength = FillLength; } private: char* m_lpBuffer; char* m_lpNowPos; char* m_lpEndPos; CSession* m_lpSession; unsigned int m_FillLength; unsigned int m_BufferLength; }; #endif