Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ApacheInputFilter Class Reference

#include <apache_filters.h>

Inheritance diagram for ApacheInputFilter:

ApacheBase TestInputFilter List of all members.

Public Member Functions

 ApacheInputFilter ()
 Constructor for your input filter - called when the child thread/process is initiated.
virtual ~ApacheInputFilter ()
 Constructor for your input filter - called when the child thread/process is cleaned up.
virtual apr_status_t connection_input_filter (ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t eMode, apr_read_type_e eBlock, apr_off_t readbytes)
 connection_input_filter is called to process data. This is calleed once per brigade of data
virtual apr_status_t request_input_filter (ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t eMode, apr_read_type_e eBlock, apr_off_t readbytes)
 request_input_filter is called to process data. This is calleed once per brigade of data for a request

Constructor & Destructor Documentation

ApacheInputFilter::ApacheInputFilter  )  [inline]
 

Constructor for your input filter - called when the child thread/process is initiated.

virtual ApacheInputFilter::~ApacheInputFilter  )  [inline, virtual]
 

Constructor for your input filter - called when the child thread/process is cleaned up.


Member Function Documentation

virtual apr_status_t ApacheInputFilter::connection_input_filter ap_filter_t *  f,
apr_bucket_brigade *  b,
ap_input_mode_t  eMode,
apr_read_type_e  eBlock,
apr_off_t  readbytes
[inline, virtual]
 

connection_input_filter is called to process data. This is calleed once per brigade of data

Parameters:
f the filter context
b the bucket brigade of data
eMode input filtering node (e.g. AP_MODE_GETLINE)
eBlock tells the filter wether or not it should block
readbytes if the eMode is AP_MODE_READBYTES this tells the module how many bytes

Reimplemented in TestInputFilter.

virtual apr_status_t ApacheInputFilter::request_input_filter ap_filter_t *  f,
apr_bucket_brigade *  b,
ap_input_mode_t  eMode,
apr_read_type_e  eBlock,
apr_off_t  readbytes
[inline, virtual]
 

request_input_filter is called to process data. This is calleed once per brigade of data for a request

Parameters:
f the filter context
b the bucket brigade of data
eMode input filtering node (e.g. AP_MODE_GETLINE)
eBlock tells the filter wether or not it should block
readbytes if the eMode is AP_MODE_READBYTES this tells the module how many bytes


The documentation for this class was generated from the following file:
Generated on Sun Apr 3 15:38:42 2005 for mod_cplusplus by  doxygen 1.4.2