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

dcm! – update contact in dialog if required More...

#include <BaseSubscription.hxx>

Inheritance diagram for resip::BaseSubscription:
[legend]

Public Member Functions

 BaseSubscription (const BaseSubscription &)=delete
 
 BaseSubscription (BaseSubscription &&)=delete
 
BaseSubscription & operator= (const BaseSubscription &)=delete
 
BaseSubscription & operator= (BaseSubscription &&)=delete
 
bool matches (const SipMessage &subOrNotify)
 
const Data & getDocumentKey () const noexcept
 
const Data & getEventType () const noexcept
 
const Data & getId () const noexcept
 
- Public Member Functions inherited from resip::DialogUsage
AppDialogSetHandle getAppDialogSet () const
 
AppDialogHandle getAppDialog () const
 
const NameAddr & myAddr () const noexcept
 
const NameAddr & peerAddr () const noexcept
 
const NameAddr & remoteTarget () const noexcept
 
const NameAddr & pendingRemoteTarget () const
 
const NameAddrs & getRouteSet () const noexcept
 
const DialogId & getDialogId () const
 
const Data & getCallId () const
 
std::shared_ptr< UserProfile > getUserProfile () const
 
- Public Member Functions inherited from resip::BaseUsage
virtual void postDum (Message *messageForDum)
 posts a message on dum
 
virtual void end ()=0
 
virtual EncodeStream & dump (EncodeStream &strm) const =0
 
- Public Member Functions inherited from resip::Handled
 Handled (HandleManager &ham)
 
virtual ~Handled ()
 

Protected Types

enum  SubDlgState { SubDlgInitial , SubDlgEstablished , SubDlgTerminating }
 

Protected Member Functions

 BaseSubscription (DialogUsageManager &dum, Dialog &dialog, const SipMessage &request)
 
SubscriptionState getSubscriptionState () const noexcept
 
virtual ~BaseSubscription ()=default
 
- Protected Member Functions inherited from resip::DialogUsage
virtual void send (std::shared_ptr< SipMessage > msg)
 
virtual void sendCommand (std::shared_ptr< SipMessage > msg)
 
virtual void onReadyToSend (SipMessage &)
 
 DialogUsage (DialogUsageManager &dum, Dialog &dialog)
 
virtual ~DialogUsage ()
 
- Protected Member Functions inherited from resip::BaseUsage
 BaseUsage (DialogUsageManager &dum)
 
virtual ~BaseUsage ()
 
virtual void dispatch (const SipMessage &msg)=0
 
virtual void dispatch (const DumTimeout &timer)=0
 
BaseUsageHandle getBaseHandle () const
 

Protected Attributes

SubDlgState mSubDlgState
 
std::shared_ptr< SipMessage > mLastRequest
 
std::shared_ptr< SipMessage > mLastResponse
 
Data mDocumentKey
 
Data mEventType
 
Data mSubscriptionId
 
unsigned int mTimerSeq
 
SubscriptionState mSubscriptionState
 
- Protected Attributes inherited from resip::DialogUsage
Dialog & mDialog
 
- Protected Attributes inherited from resip::BaseUsage
DialogUsageManager & mDum
 
- Protected Attributes inherited from resip::Handled
HandleManager & mHam
 
Handled::Id mId
 

Friends

class Dialog
 

Additional Inherited Members

- Public Types inherited from resip::Handled
enum  { npos = 0 }
 
typedef unsigned long Id
 

Detailed Description

dcm! – update contact in dialog if required

Definition at line 17 of file BaseSubscription.hxx.

Member Enumeration Documentation

◆ SubDlgState

Enumerator
SubDlgInitial 
SubDlgEstablished 
SubDlgTerminating 

Definition at line 34 of file BaseSubscription.hxx.

Constructor & Destructor Documentation

◆ BaseSubscription() [1/3]

resip::BaseSubscription::BaseSubscription ( const BaseSubscription &  )
delete

◆ BaseSubscription() [2/3]

resip::BaseSubscription::BaseSubscription ( BaseSubscription &&  )
delete

◆ BaseSubscription() [3/3]

BaseSubscription::BaseSubscription ( DialogUsageManager &  dum,
Dialog &  dialog,
const SipMessage &  request 
)
protected

Definition at line 9 of file BaseSubscription.cxx.

◆ ~BaseSubscription()

virtual resip::BaseSubscription::~BaseSubscription ( )
protectedvirtualdefault

Member Function Documentation

◆ getDocumentKey()

const Data & resip::BaseSubscription::getDocumentKey ( ) const
inlinenoexcept

Definition at line 27 of file BaseSubscription.hxx.

◆ getEventType()

const Data & resip::BaseSubscription::getEventType ( ) const
inlinenoexcept

Definition at line 28 of file BaseSubscription.hxx.

◆ getId()

const Data & resip::BaseSubscription::getId ( ) const
inlinenoexcept

Definition at line 29 of file BaseSubscription.hxx.

◆ getSubscriptionState()

SubscriptionState BaseSubscription::getSubscriptionState ( ) const
protectednoexcept

Definition at line 59 of file BaseSubscription.cxx.

◆ matches()

bool BaseSubscription::matches ( const SipMessage &  subOrNotify)

Definition at line 36 of file BaseSubscription.cxx.

◆ operator=() [1/2]

BaseSubscription & resip::BaseSubscription::operator= ( BaseSubscription &&  )
delete

◆ operator=() [2/2]

BaseSubscription & resip::BaseSubscription::operator= ( const BaseSubscription &  )
delete

Friends And Related Symbol Documentation

◆ Dialog

friend class Dialog
friend

Definition at line 32 of file BaseSubscription.hxx.

Member Data Documentation

◆ mDocumentKey

Data resip::BaseSubscription::mDocumentKey
protected

Definition at line 55 of file BaseSubscription.hxx.

◆ mEventType

Data resip::BaseSubscription::mEventType
protected

Definition at line 56 of file BaseSubscription.hxx.

◆ mLastRequest

std::shared_ptr<SipMessage> resip::BaseSubscription::mLastRequest
protected

Definition at line 52 of file BaseSubscription.hxx.

◆ mLastResponse

std::shared_ptr<SipMessage> resip::BaseSubscription::mLastResponse
protected

Definition at line 53 of file BaseSubscription.hxx.

◆ mSubDlgState

SubDlgState resip::BaseSubscription::mSubDlgState
protected

Definition at line 44 of file BaseSubscription.hxx.

◆ mSubscriptionId

Data resip::BaseSubscription::mSubscriptionId
protected

Definition at line 57 of file BaseSubscription.hxx.

◆ mSubscriptionState

SubscriptionState resip::BaseSubscription::mSubscriptionState
protected

Definition at line 59 of file BaseSubscription.hxx.

◆ mTimerSeq

unsigned int resip::BaseSubscription::mTimerSeq
protected

Definition at line 58 of file BaseSubscription.hxx.


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