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

This class is used by Invite DialogSets. More...

#include <RemoteParticipantDialogSet.hxx>

Inheritance diagram for recon::RemoteParticipantDialogSet:
[legend]

Public Member Functions

 RemoteParticipantDialogSet (ConversationManager &conversationManager, ConversationManager::ParticipantForkSelectMode forkSelectMode=ConversationManager::ForkSelectAutomatic, std::shared_ptr< ConversationProfile > conversationProfile=nullptr)
 
virtual ~RemoteParticipantDialogSet ()
 
virtual RemoteParticipant * createUACOriginalRemoteParticipant (ParticipantHandle handle)
 
virtual resip::AppDialog * createAppDialog (const resip::SipMessage &msg)
 
std::shared_ptr< ConversationProfile > getConversationProfile ()
 
virtual void endIncludeRelated (ParticipantHandle requestingParticipant)
 
virtual void setProposedSdp (ParticipantHandle handle, const resip::SdpContents &sdp)
 
virtual std::shared_ptr< resip::SdpContents > getProposedSdp ()
 
virtual void setUACConnected (const resip::DialogId &dialogId, ParticipantHandle partHandle)
 
virtual bool isUACConnected ()
 
virtual bool isStaleFork (const resip::DialogId &dialogId)
 
virtual void removeDialog (const resip::DialogId &dialogId)
 
virtual ConversationManager::ParticipantForkSelectMode getForkSelectMode ()
 
virtual ParticipantHandle getActiveRemoteParticipantHandle ()
 
virtual void setActiveRemoteParticipantHandle (ParticipantHandle handle)
 
virtual void onTrying (resip::AppDialogSetHandle, const resip::SipMessage &msg)
 
virtual void onNonDialogCreatingProvisional (resip::AppDialogSetHandle, const resip::SipMessage &msg)
 
virtual void processMediaStreamReadyEvent (std::shared_ptr< MediaStreamReadyEvent::StreamParams > streamParams)
 
virtual void processMediaStreamErrorEvent (unsigned int errorCode)
 
void sendInvite (std::shared_ptr< resip::SipMessage > invite)
 
void provideOffer (std::unique_ptr< resip::SdpContents > offer, resip::InviteSessionHandle &inviteSessionHandle, bool postOfferAccept)
 
void provideAnswer (std::unique_ptr< resip::SdpContents > answer, resip::InviteSessionHandle &inviteSessionHandle, bool postAnswerAccept, bool postAnswerAlert)
 
void accept (resip::InviteSessionHandle &inviteSessionHandle)
 
ConversationProfile::SecureMediaMode getSecureMediaMode ()
 
void setSecureMediaMode (ConversationProfile::SecureMediaMode m)
 
bool getSecureMediaRequired ()
 
void setSecureMediaRequired (bool r)
 
- Public Member Functions inherited from resip::AppDialogSet
virtual void destroy ()
 
virtual void end ()
 
virtual void end (const Data &endReason)
 
virtual void end (const ParserContainer< Token > &endReasons)
 
virtual void endCommand ()
 
virtual void endCommand (const Data &reason)
 
virtual void endCommand (const ParserContainer< Token > &endReasons)
 
virtual std::shared_ptr< UserProfile > getUserProfile ()
 
AppDialogSetHandle getHandle ()
 
DialogSetId getDialogSetId ()
 
virtual const Data getClassName ()
 
virtual EncodeStream & dump (EncodeStream &strm) const
 
- Public Member Functions inherited from resip::Handled
 Handled (HandleManager &ham)
 
virtual ~Handled ()
 

Protected Member Functions

RemoteParticipant * getUACOriginalRemoteParticipant ()
 
virtual std::shared_ptr< resip::UserProfile > selectUASUserProfile (const resip::SipMessage &)
 
virtual bool isAsyncMediaSetup ()=0
 
virtual void fixUpSdp (resip::SdpContents *sdp)=0
 
- Protected Member Functions inherited from resip::AppDialogSet
 AppDialogSet (DialogUsageManager &dum)
 
virtual ~AppDialogSet ()
 

Protected Attributes

std::map< resip::DialogId, RemoteParticipant * > mDialogs
 
ConversationManager & mConversationManager
 
ParticipantHandle mActiveRemoteParticipantHandle
 
- Protected Attributes inherited from resip::AppDialogSet
DialogUsageManager & mDum
 
- Protected Attributes inherited from resip::Handled
HandleManager & mHam
 
Handled::Id mId
 

Additional Inherited Members

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

Detailed Description

This class is used by Invite DialogSets.

Non-Invite DialogSets are managed by DefaultDialogSet. This class contains logic to handle forking and RTP connections.

Author: Scott Godin (sgodin AT SipSpectrum DOT com)

Definition at line 36 of file RemoteParticipantDialogSet.hxx.

Constructor & Destructor Documentation

◆ RemoteParticipantDialogSet()

RemoteParticipantDialogSet::RemoteParticipantDialogSet ( ConversationManager &  conversationManager,
ConversationManager::ParticipantForkSelectMode  forkSelectMode = ConversationManager::ForkSelectAutomatic,
std::shared_ptr< ConversationProfile >  conversationProfile = nullptr 
)

Definition at line 31 of file RemoteParticipantDialogSet.cxx.

◆ ~RemoteParticipantDialogSet()

RemoteParticipantDialogSet::~RemoteParticipantDialogSet ( )
virtual

Definition at line 50 of file RemoteParticipantDialogSet.cxx.

Member Function Documentation

◆ accept()

void RemoteParticipantDialogSet::accept ( resip::InviteSessionHandle &  inviteSessionHandle)

Definition at line 256 of file RemoteParticipantDialogSet.cxx.

◆ createAppDialog()

◆ createUACOriginalRemoteParticipant()

RemoteParticipant * RemoteParticipantDialogSet::createUACOriginalRemoteParticipant ( ParticipantHandle  handle)
virtual

Definition at line 275 of file RemoteParticipantDialogSet.cxx.

◆ endIncludeRelated()

void RemoteParticipantDialogSet::endIncludeRelated ( ParticipantHandle  requestingParticipant)
virtual

Definition at line 337 of file RemoteParticipantDialogSet.cxx.

◆ fixUpSdp()

◆ getActiveRemoteParticipantHandle()

virtual ParticipantHandle recon::RemoteParticipantDialogSet::getActiveRemoteParticipantHandle ( )
inlinevirtual

Definition at line 58 of file RemoteParticipantDialogSet.hxx.

◆ getConversationProfile()

std::shared_ptr< ConversationProfile > RemoteParticipantDialogSet::getConversationProfile ( )

Definition at line 69 of file RemoteParticipantDialogSet.cxx.

◆ getForkSelectMode()

ConversationManager::ParticipantForkSelectMode RemoteParticipantDialogSet::getForkSelectMode ( )
virtual

Definition at line 416 of file RemoteParticipantDialogSet.cxx.

◆ getProposedSdp()

virtual std::shared_ptr< resip::SdpContents > recon::RemoteParticipantDialogSet::getProposedSdp ( )
inlinevirtual

Definition at line 51 of file RemoteParticipantDialogSet.hxx.

◆ getSecureMediaMode()

ConversationProfile::SecureMediaMode recon::RemoteParticipantDialogSet::getSecureMediaMode ( )
inline

Definition at line 73 of file RemoteParticipantDialogSet.hxx.

◆ getSecureMediaRequired()

bool recon::RemoteParticipantDialogSet::getSecureMediaRequired ( )
inline

Definition at line 75 of file RemoteParticipantDialogSet.hxx.

◆ getUACOriginalRemoteParticipant()

RemoteParticipant * recon::RemoteParticipantDialogSet::getUACOriginalRemoteParticipant ( )
inlineprotected

Definition at line 79 of file RemoteParticipantDialogSet.hxx.

◆ isAsyncMediaSetup()

◆ isStaleFork()

bool RemoteParticipantDialogSet::isStaleFork ( const resip::DialogId &  dialogId)
virtual

Definition at line 393 of file RemoteParticipantDialogSet.cxx.

◆ isUACConnected()

bool RemoteParticipantDialogSet::isUACConnected ( )
virtual

Definition at line 387 of file RemoteParticipantDialogSet.cxx.

◆ onNonDialogCreatingProvisional()

void RemoteParticipantDialogSet::onNonDialogCreatingProvisional ( resip::AppDialogSetHandle  ,
const resip::SipMessage &  msg 
)
virtual

Definition at line 442 of file RemoteParticipantDialogSet.cxx.

◆ onTrying()

void RemoteParticipantDialogSet::onTrying ( resip::AppDialogSetHandle  ,
const resip::SipMessage &  msg 
)
virtual

Definition at line 432 of file RemoteParticipantDialogSet.cxx.

◆ processMediaStreamErrorEvent()

void RemoteParticipantDialogSet::processMediaStreamErrorEvent ( unsigned int  errorCode)
virtual

Definition at line 116 of file RemoteParticipantDialogSet.cxx.

◆ processMediaStreamReadyEvent()

void RemoteParticipantDialogSet::processMediaStreamReadyEvent ( std::shared_ptr< MediaStreamReadyEvent::StreamParams >  streamParams)
virtual

◆ provideAnswer()

void RemoteParticipantDialogSet::provideAnswer ( std::unique_ptr< resip::SdpContents >  answer,
resip::InviteSessionHandle &  inviteSessionHandle,
bool  postAnswerAccept,
bool  postAnswerAlert 
)

Definition at line 193 of file RemoteParticipantDialogSet.cxx.

◆ provideOffer()

void RemoteParticipantDialogSet::provideOffer ( std::unique_ptr< resip::SdpContents >  offer,
resip::InviteSessionHandle &  inviteSessionHandle,
bool  postOfferAccept 
)

Definition at line 175 of file RemoteParticipantDialogSet.cxx.

◆ removeDialog()

void RemoteParticipantDialogSet::removeDialog ( const resip::DialogId &  dialogId)
virtual

Definition at line 399 of file RemoteParticipantDialogSet.cxx.

◆ selectUASUserProfile()

std::shared_ptr< UserProfile > RemoteParticipantDialogSet::selectUASUserProfile ( const resip::SipMessage &  msg)
protectedvirtual

Reimplemented from resip::AppDialogSet.

Definition at line 63 of file RemoteParticipantDialogSet.cxx.

◆ sendInvite()

void RemoteParticipantDialogSet::sendInvite ( std::shared_ptr< resip::SipMessage >  invite)

Definition at line 146 of file RemoteParticipantDialogSet.cxx.

◆ setActiveRemoteParticipantHandle()

void RemoteParticipantDialogSet::setActiveRemoteParticipantHandle ( ParticipantHandle  handle)
virtual

◆ setProposedSdp()

void RemoteParticipantDialogSet::setProposedSdp ( ParticipantHandle  handle,
const resip::SdpContents &  sdp 
)
virtual

Definition at line 359 of file RemoteParticipantDialogSet.cxx.

◆ setSecureMediaMode()

void recon::RemoteParticipantDialogSet::setSecureMediaMode ( ConversationProfile::SecureMediaMode  m)
inline

Definition at line 74 of file RemoteParticipantDialogSet.hxx.

◆ setSecureMediaRequired()

void recon::RemoteParticipantDialogSet::setSecureMediaRequired ( bool  r)
inline

Definition at line 76 of file RemoteParticipantDialogSet.hxx.

◆ setUACConnected()

void RemoteParticipantDialogSet::setUACConnected ( const resip::DialogId &  dialogId,
ParticipantHandle  partHandle 
)
virtual

Definition at line 366 of file RemoteParticipantDialogSet.cxx.

Member Data Documentation

◆ mActiveRemoteParticipantHandle

ParticipantHandle recon::RemoteParticipantDialogSet::mActiveRemoteParticipantHandle
protected

Definition at line 88 of file RemoteParticipantDialogSet.hxx.

◆ mConversationManager

ConversationManager& recon::RemoteParticipantDialogSet::mConversationManager
protected

Definition at line 87 of file RemoteParticipantDialogSet.hxx.

◆ mDialogs

std::map<resip::DialogId, RemoteParticipant*> recon::RemoteParticipantDialogSet::mDialogs
protected

Definition at line 86 of file RemoteParticipantDialogSet.hxx.


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