|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <ProcessorChain.hxx>
Public Types | |
| typedef std::vector< Processor * > | Chain |
Public Types inherited from repro::Processor | |
| enum | ChainType { NO_TYPE =0 , REQUEST_CHAIN , RESPONSE_CHAIN , TARGET_CHAIN } |
| enum | processor_action_t { Continue , WaitingForEvent , SkipThisChain , SkipAllChains } |
Public Member Functions | |
| ProcessorChain (ChainType type) | |
| virtual | ~ProcessorChain () |
| void | addProcessor (std::unique_ptr< Processor >) |
| template<class T > | |
| void | insertProcessor (std::unique_ptr< Processor > rp) |
| virtual processor_action_t | process (RequestContext &) |
| virtual void | setChainType (ChainType type) |
| virtual void | pushAddress (const std::vector< short > &address) |
| virtual void | pushAddress (const short address) |
Public Member Functions inherited from repro::Processor | |
| Processor (const resip::Data &name, ChainType type=NO_TYPE) | |
| virtual | ~Processor () |
| virtual ChainType | getChainType () const |
| virtual void | setName (const resip::Data &name) |
| virtual const resip::Data & | getName () const |
| virtual const std::vector< short > & | getAddress () const |
Friends | |
| EncodeStream & | operator<< (EncodeStream &os, const repro::ProcessorChain &pc) |
Additional Inherited Members | |
Protected Attributes inherited from repro::Processor | |
| std::vector< short > | mAddress |
| ChainType | mType |
| resip::Data | mName |
Definition at line 11 of file ProcessorChain.hxx.
| typedef std::vector<Processor*> repro::ProcessorChain::Chain |
Definition at line 38 of file ProcessorChain.hxx.
| ProcessorChain::ProcessorChain | ( | Processor::ChainType | type | ) |
Definition at line 22 of file ProcessorChain.cxx.
|
virtual |
Definition at line 45 of file ProcessorChain.cxx.
Definition at line 57 of file ProcessorChain.cxx.
|
inline |
Definition at line 18 of file ProcessorChain.hxx.
|
virtual |
Implements repro::Processor.
Definition at line 68 of file ProcessorChain.cxx.
Reimplemented from repro::Processor.
Definition at line 133 of file ProcessorChain.cxx.
Reimplemented from repro::Processor.
Definition at line 123 of file ProcessorChain.cxx.
Reimplemented from repro::Processor.
Definition at line 144 of file ProcessorChain.cxx.
|
friend |