Public Member Functions

RemapProcessor Class Reference

#include <RemapProcessor.h>

Inherits Processor.

Collaboration diagram for RemapProcessor:
Collaboration graph
[legend]

Public Member Functions

 RemapProcessor ()
 ~RemapProcessor ()
bool setup_for_remap (HttpTransact::State *s)
 Most of this comes from UrlRewrite::Remap().
bool finish_remap (HttpTransact::State *s)
Actionperform_remap (Continuation *cont, HttpTransact::State *s)
int start (int num_threads, size_t stacksize)
 Starts execution of the processor.
bool LessThan (HttpTransact::State *, HttpTransact::State *)
void setUseSeparateThread ()
bool using_separate_thread ()

Detailed Description

Definition at line 43 of file RemapProcessor.h.


Constructor & Destructor Documentation

RemapProcessor::RemapProcessor (  )  [inline]

Definition at line 47 of file RemapProcessor.h.

RemapProcessor::~RemapProcessor (  )  [inline]

Definition at line 51 of file RemapProcessor.h.


Member Function Documentation

bool RemapProcessor::finish_remap ( HttpTransact::State s  ) 
bool RemapProcessor::LessThan ( HttpTransact::State ,
HttpTransact::State  
)
Action * RemapProcessor::perform_remap ( Continuation cont,
HttpTransact::State s 
)
bool RemapProcessor::setup_for_remap ( HttpTransact::State s  ) 
void RemapProcessor::setUseSeparateThread (  )  [inline]

Definition at line 59 of file RemapProcessor.h.

Referenced by main().

int RemapProcessor::start ( int  number_of_threads,
size_t  stacksize 
) [virtual]

Starts execution of the processor.

Attempts to start the number of threads specified for the processor, initializes their states and sets them running. On failure it returns a negative value.

Parameters:
number_of_threads Positive value indicating the number of threads to spawn for the processor.
stacksize The thread stack size to use for this processor.

Reimplemented from Processor.

Definition at line 30 of file RemapProcessor.cc.

References eventProcessor, and EventProcessor::spawn_event_threads().

Referenced by main().

bool RemapProcessor::using_separate_thread (  )  [inline]

Definition at line 60 of file RemapProcessor.h.

Referenced by HttpSM::set_next_state().


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