Public Member Functions | Protected Member Functions | Protected Attributes

BaseStatPagesHandler Class Reference

#include <StatPages.h>

Inherits Continuation.

Inherited by HttpPagesHandler.

Collaboration diagram for BaseStatPagesHandler:
Collaboration graph
[legend]

Public Member Functions

 BaseStatPagesHandler (ProxyMutex *amutex)
 ~BaseStatPagesHandler ()

Protected Member Functions

inkcoreapi void resp_clear (void)
inkcoreapi void resp_add (const char *fmt,...)
inkcoreapi void resp_add_sep (void)
inkcoreapi void resp_begin (const char *title)
inkcoreapi void resp_end (void)
void resp_begin_numbered (void)
void resp_end_numbered (void)
inkcoreapi void resp_begin_unnumbered (void)
inkcoreapi void resp_end_unnumbered (void)
inkcoreapi void resp_begin_item (void)
void resp_end_item (void)
inkcoreapi void resp_begin_table (int border, int columns, int percent)
inkcoreapi void resp_end_table ()
inkcoreapi void resp_begin_row ()
inkcoreapi void resp_end_row ()
inkcoreapi void resp_begin_column (int percent=-1, const char *align=NULL)
inkcoreapi void resp_end_column ()

Protected Attributes

char * response
int response_size
int response_length

Detailed Description

Definition at line 102 of file StatPages.h.


Constructor & Destructor Documentation

BaseStatPagesHandler::BaseStatPagesHandler ( ProxyMutex amutex  )  [inline]

Definition at line 105 of file StatPages.h.

BaseStatPagesHandler::~BaseStatPagesHandler (  )  [inline]

Definition at line 108 of file StatPages.h.

References resp_clear().


Member Function Documentation

void BaseStatPagesHandler::resp_add ( const char *  fmt,
  ... 
) [protected]
void BaseStatPagesHandler::resp_add_sep ( void   )  [protected]

Definition at line 185 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_begin ( const char *  title  )  [protected]

Definition at line 191 of file StatPages.cc.

References resp_add(), and resp_clear().

Referenced by HttpPagesHandler::handle_smdetails(), and HttpPagesHandler::handle_smlist().

void BaseStatPagesHandler::resp_begin_column ( int  percent = -1,
const char *  align = NULL 
) [protected]

Definition at line 266 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_begin_item ( void   )  [protected]

Definition at line 230 of file StatPages.cc.

References resp_add().

Referenced by HttpPagesHandler::handle_smdetails(), and HttpPagesHandler::handle_smlist().

void BaseStatPagesHandler::resp_begin_numbered ( void   )  [protected]

Definition at line 206 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_begin_row (  )  [protected]

Definition at line 254 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_begin_table ( int  border,
int  columns,
int  percent 
) [protected]

Definition at line 242 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_begin_unnumbered ( void   )  [protected]

Definition at line 218 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_clear ( void   )  [protected]

Definition at line 143 of file StatPages.cc.

References ats_free(), response, response_length, and response_size.

Referenced by resp_begin(), and ~BaseStatPagesHandler().

void BaseStatPagesHandler::resp_end ( void   )  [protected]

Definition at line 200 of file StatPages.cc.

References resp_add().

Referenced by HttpPagesHandler::handle_smdetails(), and HttpPagesHandler::handle_smlist().

void BaseStatPagesHandler::resp_end_column (  )  [protected]

Definition at line 276 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_end_item ( void   )  [protected]

Definition at line 236 of file StatPages.cc.

References resp_add().

Referenced by HttpPagesHandler::handle_smdetails(), and HttpPagesHandler::handle_smlist().

void BaseStatPagesHandler::resp_end_numbered ( void   )  [protected]

Definition at line 212 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_end_row (  )  [protected]

Definition at line 260 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_end_table (  )  [protected]

Definition at line 248 of file StatPages.cc.

References resp_add().

void BaseStatPagesHandler::resp_end_unnumbered ( void   )  [protected]

Definition at line 224 of file StatPages.cc.

References resp_add().


Field Documentation

char* BaseStatPagesHandler::response [protected]

Definition at line 132 of file StatPages.h.

Referenced by HttpPagesHandler::handle_callback(), resp_add(), and resp_clear().

Definition at line 134 of file StatPages.h.

Referenced by HttpPagesHandler::handle_callback(), resp_add(), and resp_clear().

Definition at line 133 of file StatPages.h.

Referenced by resp_add(), and resp_clear().


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