|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <Processor.hxx>
Public Types | |
| enum | ChainType { NO_TYPE =0 , REQUEST_CHAIN , RESPONSE_CHAIN , TARGET_CHAIN } |
| enum | processor_action_t { Continue , WaitingForEvent , SkipThisChain , SkipAllChains } |
Public Member Functions | |
| Processor (const resip::Data &name, ChainType type=NO_TYPE) | |
| virtual | ~Processor () |
| virtual processor_action_t | process (RequestContext &)=0 |
| virtual void | setChainType (ChainType type) |
| virtual ChainType | getChainType () const |
| virtual void | setName (const resip::Data &name) |
| virtual const resip::Data & | getName () const |
| virtual void | pushAddress (const std::vector< short > &address) |
| virtual void | pushAddress (const short address) |
| virtual const std::vector< short > & | getAddress () const |
Protected Attributes | |
| std::vector< short > | mAddress |
| ChainType | mType |
| resip::Data | mName |
Friends | |
| class | ProcessorChain |
Definition at line 14 of file Processor.hxx.
| Enumerator | |
|---|---|
| NO_TYPE | |
| REQUEST_CHAIN | |
| RESPONSE_CHAIN | |
| TARGET_CHAIN | |
Definition at line 17 of file Processor.hxx.
| Enumerator | |
|---|---|
| Continue | |
| WaitingForEvent | |
| SkipThisChain | |
| SkipAllChains | |
Definition at line 28 of file Processor.hxx.
| Processor::Processor | ( | const resip::Data & | name, |
| ChainType | type = NO_TYPE |
||
| ) |
Definition at line 13 of file Processor.cxx.
|
virtual |
Definition at line 19 of file Processor.cxx.
Definition at line 63 of file Processor.cxx.
|
virtual |
Definition at line 45 of file Processor.cxx.
|
virtual |
Definition at line 57 of file Processor.cxx.
|
pure virtual |
Implemented in repro::AmIResponsible, repro::CertificateAuthenticator, repro::ConstantLocationMonkey, repro::CookieAuthenticator, repro::DigestAuthenticator, repro::GeoProximityTargetSorter, repro::GruuMonkey, repro::IsTrustedNode, repro::LocationServer, repro::MessageSilo, repro::OutboundTargetHandler, repro::QValueTargetHandler, repro::RecursiveRedirect, repro::RequestFilter, repro::SimpleStaticRoute, repro::SimpleTargetHandler, repro::StaticRoute, repro::StrictRouteFixup, repro::ProcessorChain, repro::AsyncProcessor, and repro::PyRouteProcessor.
Reimplemented in repro::ProcessorChain.
Definition at line 33 of file Processor.cxx.
Reimplemented in repro::ProcessorChain.
Definition at line 24 of file Processor.cxx.
Reimplemented in repro::ProcessorChain.
Definition at line 39 of file Processor.cxx.
|
virtual |
Definition at line 51 of file Processor.cxx.
|
friend |
Definition at line 55 of file Processor.hxx.
|
protected |
Definition at line 51 of file Processor.hxx.
|
protected |
Definition at line 53 of file Processor.hxx.
|
protected |
Definition at line 52 of file Processor.hxx.