reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::MessageDecorator Class Referenceabstract

#include <MessageDecorator.hxx>

Inheritance diagram for resip::MessageDecorator:
[legend]

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 MessageDecorator * clone () 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

◆ ~MessageDecorator()

virtual resip::MessageDecorator::~MessageDecorator ( )
inlinevirtual

Definition at line 14 of file MessageDecorator.hxx.

Member Function Documentation

◆ clone()

virtual MessageDecorator * resip::MessageDecorator::clone ( ) const
pure virtual

◆ copyToStackCancels()

virtual bool resip::MessageDecorator::copyToStackCancels ( ) const
inlinevirtual

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.

◆ copyToStackFailureAcks()

virtual bool resip::MessageDecorator::copyToStackFailureAcks ( ) const
inlinevirtual

Definition at line 31 of file MessageDecorator.hxx.

◆ decorateMessage()

virtual void resip::MessageDecorator::decorateMessage ( SipMessage &  msg,
const Tuple &  source,
const Tuple &  destination,
const Data &  sigcompId 
)
pure virtual

◆ rollbackMessage()

virtual void resip::MessageDecorator::rollbackMessage ( SipMessage &  msg)
pure virtual

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