reSIProcate/stack  9694
Public Member Functions
resip::MessageDecorator Class Reference

#include <MessageDecorator.hxx>

List of all members.

Public Member Functions

virtual ~MessageDecorator ()
virtual void decorateMessage (SipMessage &msg, const Tuple &source, const Tuple &destination, const Data &sigcompId)=0
virtual void rollbackMessage (SipMessage &msg)=0
virtual MessageDecoratorclone () const =0
virtual bool copyToStackCancels () const
 If this decorator is applied to an INVITE request, and the stack ends up needing to CANCEL it or to generate a failure ACK for it then setting these returns to true will signal the stack to copy this Decorator from the INVITE message to the resulting CANCEL or ACK.
virtual bool copyToStackFailureAcks () const

Detailed Description

Definition at line 11 of file MessageDecorator.hxx.


Constructor & Destructor Documentation

virtual resip::MessageDecorator::~MessageDecorator ( ) [inline, virtual]

Definition at line 14 of file MessageDecorator.hxx.

{;}

Member Function Documentation

virtual MessageDecorator* resip::MessageDecorator::clone ( ) const [pure virtual]
virtual bool resip::MessageDecorator::copyToStackCancels ( ) const [inline, virtual]

If this decorator is applied to an INVITE request, and the stack ends up needing to CANCEL it or to generate a failure ACK for it then setting these returns to true will signal the stack to copy this Decorator from the INVITE message to the resulting CANCEL or ACK.

Note: This functionality was added so that it is possible to decorate all request messaging on the wire. Note: If the CANCEL or ACK/200 is generated at the DUM layer, then the normal profile decorators will be added to it.

Definition at line 30 of file MessageDecorator.hxx.

{ return false; }
virtual bool resip::MessageDecorator::copyToStackFailureAcks ( ) const [inline, virtual]

Definition at line 31 of file MessageDecorator.hxx.

{ return false; }
virtual void resip::MessageDecorator::decorateMessage ( SipMessage msg,
const Tuple source,
const Tuple destination,
const Data sigcompId 
) [pure virtual]
virtual void resip::MessageDecorator::rollbackMessage ( SipMessage msg) [pure virtual]

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