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

#include <ServerPublication.hxx>

Inheritance diagram for resip::ServerPublication:
[legend]

Public Types

typedef Handle< ServerPublication > ServerPublicationHandle
 
- Public Types inherited from resip::Handled
enum  { npos = 0 }
 
typedef unsigned long Id
 

Public Member Functions

ServerPublicationHandle getHandle ()
 
const Data & getEtag () const
 
const Data & getDocumentKey () const
 
const Data & getEventType () const
 
std::shared_ptr< SipMessage > accept (int statusCode=200)
 
std::shared_ptr< SipMessage > reject (int responseCode)
 
virtual void end ()
 
virtual void dispatch (const SipMessage &msg)
 
virtual void dispatch (const DumTimeout &timer)
 
void send (std::shared_ptr< SipMessage > response)
 
Data getPublisher () const
 
virtual EncodeStream & dump (EncodeStream &strm) const
 
- Public Member Functions inherited from resip::BaseUsage
virtual void postDum (Message *messageForDum)
 posts a message on dum
 
- Public Member Functions inherited from resip::Handled
 Handled (HandleManager &ham)
 
virtual ~Handled ()
 

Protected Member Functions

virtual ~ServerPublication ()
 
void updateMatchingSubscriptions ()
 
- Protected Member Functions inherited from resip::BaseUsage
 BaseUsage (DialogUsageManager &dum)
 
virtual ~BaseUsage ()
 
BaseUsageHandle getBaseHandle () const
 

Friends

class DialogUsageManager
 

Additional Inherited Members

- Protected Attributes inherited from resip::BaseUsage
DialogUsageManager & mDum
 
- Protected Attributes inherited from resip::Handled
HandleManager & mHam
 
Handled::Id mId
 

Detailed Description

Definition at line 13 of file ServerPublication.hxx.

Member Typedef Documentation

◆ ServerPublicationHandle

Constructor & Destructor Documentation

◆ ~ServerPublication()

ServerPublication::~ServerPublication ( )
protectedvirtual

Definition at line 27 of file ServerPublication.cxx.

Member Function Documentation

◆ accept()

std::shared_ptr< SipMessage > ServerPublication::accept ( int  statusCode = 200)

Definition at line 80 of file ServerPublication.cxx.

◆ dispatch() [1/2]

void ServerPublication::dispatch ( const DumTimeout &  timer)
virtual

Implements resip::BaseUsage.

Definition at line 172 of file ServerPublication.cxx.

◆ dispatch() [2/2]

void ServerPublication::dispatch ( const SipMessage &  msg)
virtual

Implements resip::BaseUsage.

Definition at line 103 of file ServerPublication.cxx.

◆ dump()

EncodeStream & ServerPublication::dump ( EncodeStream &  strm) const
virtual

Implements resip::BaseUsage.

Definition at line 224 of file ServerPublication.cxx.

◆ end()

void ServerPublication::end ( )
virtual

Implements resip::BaseUsage.

Definition at line 97 of file ServerPublication.cxx.

◆ getDocumentKey()

const Data & ServerPublication::getDocumentKey ( ) const

Definition at line 45 of file ServerPublication.cxx.

◆ getEtag()

const Data & ServerPublication::getEtag ( ) const

Definition at line 39 of file ServerPublication.cxx.

◆ getEventType()

const Data & resip::ServerPublication::getEventType ( ) const
inline

Definition at line 21 of file ServerPublication.hxx.

◆ getHandle()

ServerPublicationHandle ServerPublication::getHandle ( )

Definition at line 33 of file ServerPublication.cxx.

◆ getPublisher()

Data ServerPublication::getPublisher ( ) const

Definition at line 51 of file ServerPublication.cxx.

◆ reject()

std::shared_ptr< SipMessage > ServerPublication::reject ( int  responseCode)

Definition at line 89 of file ServerPublication.cxx.

◆ send()

void ServerPublication::send ( std::shared_ptr< SipMessage >  response)

Definition at line 192 of file ServerPublication.cxx.

◆ updateMatchingSubscriptions()

void ServerPublication::updateMatchingSubscriptions ( )
protected

Definition at line 57 of file ServerPublication.cxx.

Friends And Related Symbol Documentation

◆ DialogUsageManager

friend class DialogUsageManager
friend

Definition at line 41 of file ServerPublication.hxx.


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