CPPSERV


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

container::ServletOutputStreamBuf Class Reference

#include <ServletOutputStream.h>

Inheritance diagram for container::ServletOutputStreamBuf:
Collaboration diagram for container::ServletOutputStreamBuf:

List of all members.


Public Member Functions

 ServletOutputStreamBuf (Connection &con, HttpServletResponseImpl &resp)
size_t getBufSize ()

Protected Member Functions

virtual int sync ()
virtual int showmanyc () const
virtual std::streamsize xsgetn (char *s, std::streamsize n)
virtual int underflow ()
virtual int pbackfail ()
virtual std::streamsize xsputn (const char *s, std::streamsize n)
virtual int overflow (int c)
virtual std::streambuf * setbuf (char *s, std::streamsize n)

Private Attributes

Connectionm_con
HttpServletResponseImplm_resp
size_t m_bufSz

Detailed Description

Definition at line 28 of file ServletOutputStream.h.


Constructor & Destructor Documentation

container::ServletOutputStreamBuf::ServletOutputStreamBuf ( Connection con,
HttpServletResponseImpl resp 
) [inline]

Definition at line 34 of file ServletOutputStream.h.

References m_bufSz, and m_con.


Member Function Documentation

container::ServletOutputStreamBuf::getBufSize (  )  [inline]

Definition at line 44 of file ServletOutputStream.h.

References m_bufSz.

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

int container::ServletOutputStreamBuf::overflow ( int  c  )  [protected, virtual]

Definition at line 84 of file ServletOutputStream.cpp.

References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().

Here is the call graph for this function:

int container::ServletOutputStreamBuf::pbackfail (  )  [protected, virtual]

Definition at line 70 of file ServletOutputStream.cpp.

References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().

Here is the call graph for this function:

std::streambuf * container::ServletOutputStreamBuf::setbuf ( char *  s,
std::streamsize  n 
) [protected, virtual]

Definition at line 54 of file ServletOutputStream.cpp.

References m_bufSz, and m_con.

virtual int container::ServletOutputStreamBuf::showmanyc (  )  const [inline, protected, virtual]

Definition at line 47 of file ServletOutputStream.h.

int container::ServletOutputStreamBuf::sync (  )  [protected, virtual]

Definition at line 63 of file ServletOutputStream.cpp.

References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().

Here is the call graph for this function:

virtual int container::ServletOutputStreamBuf::underflow (  )  [inline, protected, virtual]

Definition at line 50 of file ServletOutputStream.h.

virtual std::streamsize container::ServletOutputStreamBuf::xsgetn ( char *  s,
std::streamsize  n 
) [inline, protected, virtual]

Definition at line 48 of file ServletOutputStream.h.

std::streamsize container::ServletOutputStreamBuf::xsputn ( const char *  s,
std::streamsize  n 
) [protected, virtual]

Definition at line 77 of file ServletOutputStream.cpp.

References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().

Here is the call graph for this function:


Member Data Documentation

Definition at line 32 of file ServletOutputStream.h.

Referenced by getBufSize(), ServletOutputStreamBuf(), and setbuf().


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

SourceForge.net Logo