CPPSERV


Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

container::ServletOutputStream Class Reference

#include <ServletOutputStream.h>

Inheritance diagram for container::ServletOutputStream:
Collaboration diagram for container::ServletOutputStream:

List of all members.


Public Member Functions

 ServletOutputStream (Connection &, HttpServletResponseImpl &)
virtual ~ServletOutputStream ()

Protected Member Functions

virtual void setBufferSize (size_t sz)
virtual size_t getBufferSize ()

Private Attributes

ServletOutputStreamBuf m_buf

Friends

class HttpServletResponseImpl

Detailed Description

ServletOutputStream ementation based around sockets

Author:
Ilya A. Volynets-Evenbakh

Definition at line 63 of file ServletOutputStream.h.


Constructor & Destructor Documentation

container::ServletOutputStream::ServletOutputStream ( Connection con,
HttpServletResponseImpl resp 
)

Definition at line 25 of file ServletOutputStream.cpp.

container::ServletOutputStream::~ServletOutputStream (  )  [virtual]

Definition at line 32 of file ServletOutputStream.cpp.


Member Function Documentation

size_t container::ServletOutputStream::getBufferSize (  )  [protected, virtual]

Definition at line 43 of file ServletOutputStream.cpp.

References container::ServletOutputStreamBuf::getBufSize(), and m_buf.

Referenced by container::HttpServletResponseImpl::getBufferSize().

Here is the call graph for this function:

void container::ServletOutputStream::setBufferSize ( size_t  sz  )  [protected, virtual]

Todo:
make this function actually set the size of buffer Do we need to free()/delete[] previous buffer and do pubsetbuf or will previous one be freed automatically?

Definition at line 36 of file ServletOutputStream.cpp.

Referenced by container::HttpServletResponseImpl::setBufferSize().


Friends And Related Function Documentation

friend class HttpServletResponseImpl [friend]

Definition at line 70 of file ServletOutputStream.h.


Member Data Documentation


The documentation for this class was generated from the following files:

SourceForge.net Logo