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

This class represent an Instant Message remote participant. More...

#include <RemoteIMPagerParticipant.hxx>

Inheritance diagram for recon::RemoteIMPagerParticipant:
[legend]

Public Member Functions

 RemoteIMPagerParticipant (ParticipantHandle partHandle, ConversationManager &conversationManager)
 
 RemoteIMPagerParticipant (ParticipantHandle partHandle, ConversationManager &conversationManager, const resip::NameAddr &destination, std::shared_ptr< ConversationProfile > conversationProfile=nullptr)
 
virtual ~RemoteIMPagerParticipant ()
 
virtual int getConnectionPortOnBridge () override
 
virtual bool hasInput () override
 
virtual bool hasOutput () override
 
virtual void applyBridgeMixWeights () override
 
virtual void applyBridgeMixWeights (Conversation *removedConversation) override
 
virtual void destroyParticipant () override
 
virtual void sendInstantMessage (std::unique_ptr< resip::Contents > contents) override
 
virtual void accept ()
 
virtual void reject (unsigned int rejectCode)
 
virtual bool doesMessageMatch (resip::SipMessage message)
 
- Public Member Functions inherited from recon::IMParticipantBase
 IMParticipantBase (bool prependSenderInfoToIMs)
 
virtual ~IMParticipantBase ()
 
virtual void setPrependSenderInfoToIMs (bool value)
 
virtual bool getPrependSenderInfoToIMs ()
 
- Public Member Functions inherited from recon::Participant
 Participant (ParticipantHandle partHandle, ConversationManager::ParticipantType participantType, ConversationManager &conversationManager)
 
 Participant (ConversationManager::ParticipantType participantType, ConversationManager &conversationManager)
 
virtual ~Participant ()
 
virtual ParticipantHandle getParticipantHandle ()
 
virtual ConversationManager::ParticipantType getParticipantType ()
 
virtual void setRecordChannelNum (unsigned int channelNum)
 
virtual unsigned int getRecordChannelNum ()
 
virtual void addToConversation (Conversation *conversation, unsigned int inputGain=100, unsigned int outputGain=100)
 
virtual void removeFromConversation (Conversation *conversation)
 
virtual void unregisterFromAllConversations ()
 
virtual void copyConversationsToParticipant (Participant *destParticipant)
 
virtual unsigned int getNumConversations ()
 
const ConversationMap & getConversations ()
 
virtual void setHandle (ParticipantHandle partHandle)
 
virtual void replaceWithParticipant (Participant *replacingParticipant)
 
- 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 ()
 
virtual AppDialog * createAppDialog (const SipMessage &)
 
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

virtual void onSuccess (resip::ClientPagerMessageHandle, const resip::SipMessage &status)
 
virtual void onFailure (resip::ClientPagerMessageHandle, const resip::SipMessage &status, std::unique_ptr< resip::Contents > contents)
 
virtual void onMessageArrived (resip::ServerPagerMessageHandle, const resip::SipMessage &message)
 
- Protected Member Functions inherited from resip::AppDialogSet
 AppDialogSet (DialogUsageManager &dum)
 
virtual ~AppDialogSet ()
 
virtual std::shared_ptr< UserProfile > selectUASUserProfile (const SipMessage &)
 

Friends

class ConversationManager
 

Additional Inherited Members

- Public Types inherited from recon::Participant
typedef std::map< ConversationHandle, Conversation * > ConversationMap
 
- Public Types inherited from resip::Handled
enum  { npos = 0 }
 
typedef unsigned long Id
 
- Protected Attributes inherited from recon::IMParticipantBase
bool mPrependSenderInfoToIMs
 
- Protected Attributes inherited from recon::Participant
ParticipantHandle mHandle
 
ConversationManager::ParticipantType mType
 
unsigned int mRecordChannelNum
 
ConversationManager & mConversationManager
 
ConversationMap mConversations
 
- Protected Attributes inherited from resip::AppDialogSet
DialogUsageManager & mDum
 
- Protected Attributes inherited from resip::Handled
HandleManager & mHam
 
Handled::Id mId
 

Detailed Description

This class represent an Instant Message remote participant.

A remote participant is a participant with a network connection to a remote entity. This implementation is for a SIP / SIMPLE mappings.

Author: Scott Godin (sgodin AT SipSpectrum DOT com)

Definition at line 32 of file RemoteIMPagerParticipant.hxx.

Constructor & Destructor Documentation

◆ RemoteIMPagerParticipant() [1/2]

RemoteIMPagerParticipant::RemoteIMPagerParticipant ( ParticipantHandle  partHandle,
ConversationManager &  conversationManager 
)

Definition at line 30 of file RemoteIMPagerParticipant.cxx.

◆ RemoteIMPagerParticipant() [2/2]

RemoteIMPagerParticipant::RemoteIMPagerParticipant ( ParticipantHandle  partHandle,
ConversationManager &  conversationManager,
const resip::NameAddr &  destination,
std::shared_ptr< ConversationProfile >  conversationProfile = nullptr 
)

Definition at line 44 of file RemoteIMPagerParticipant.cxx.

◆ ~RemoteIMPagerParticipant()

RemoteIMPagerParticipant::~RemoteIMPagerParticipant ( )
virtual

Definition at line 67 of file RemoteIMPagerParticipant.cxx.

Member Function Documentation

◆ accept()

void RemoteIMPagerParticipant::accept ( )
virtual

Definition at line 127 of file RemoteIMPagerParticipant.cxx.

◆ applyBridgeMixWeights() [1/2]

virtual void recon::RemoteIMPagerParticipant::applyBridgeMixWeights ( )
inlineoverridevirtual

Reimplemented from recon::Participant.

Definition at line 45 of file RemoteIMPagerParticipant.hxx.

◆ applyBridgeMixWeights() [2/2]

virtual void recon::RemoteIMPagerParticipant::applyBridgeMixWeights ( Conversation *  removedConversation)
inlineoverridevirtual

Reimplemented from recon::Participant.

Definition at line 46 of file RemoteIMPagerParticipant.hxx.

◆ destroyParticipant()

void RemoteIMPagerParticipant::destroyParticipant ( )
overridevirtual

Implements recon::Participant.

Definition at line 80 of file RemoteIMPagerParticipant.cxx.

◆ doesMessageMatch()

bool RemoteIMPagerParticipant::doesMessageMatch ( resip::SipMessage  message)
virtual

Definition at line 179 of file RemoteIMPagerParticipant.cxx.

◆ getConnectionPortOnBridge()

virtual int recon::RemoteIMPagerParticipant::getConnectionPortOnBridge ( )
inlineoverridevirtual

Implements recon::Participant.

Definition at line 42 of file RemoteIMPagerParticipant.hxx.

◆ hasInput()

virtual bool recon::RemoteIMPagerParticipant::hasInput ( )
inlineoverridevirtual

Implements recon::Participant.

Definition at line 43 of file RemoteIMPagerParticipant.hxx.

◆ hasOutput()

virtual bool recon::RemoteIMPagerParticipant::hasOutput ( )
inlineoverridevirtual

Implements recon::Participant.

Definition at line 44 of file RemoteIMPagerParticipant.hxx.

◆ onFailure()

void RemoteIMPagerParticipant::onFailure ( resip::ClientPagerMessageHandle  h,
const resip::SipMessage &  status,
std::unique_ptr< resip::Contents >  contents 
)
protectedvirtual

Definition at line 217 of file RemoteIMPagerParticipant.cxx.

◆ onMessageArrived()

void RemoteIMPagerParticipant::onMessageArrived ( resip::ServerPagerMessageHandle  h,
const resip::SipMessage &  message 
)
protectedvirtual

Definition at line 252 of file RemoteIMPagerParticipant.cxx.

◆ onSuccess()

void RemoteIMPagerParticipant::onSuccess ( resip::ClientPagerMessageHandle  h,
const resip::SipMessage &  status 
)
protectedvirtual

Definition at line 194 of file RemoteIMPagerParticipant.cxx.

◆ reject()

void RemoteIMPagerParticipant::reject ( unsigned int  rejectCode)
virtual

Definition at line 157 of file RemoteIMPagerParticipant.cxx.

◆ sendInstantMessage()

void RemoteIMPagerParticipant::sendInstantMessage ( std::unique_ptr< resip::Contents >  contents)
overridevirtual

Implements recon::IMParticipantBase.

Definition at line 115 of file RemoteIMPagerParticipant.cxx.

Friends And Related Symbol Documentation

◆ ConversationManager

Definition at line 57 of file RemoteIMPagerParticipant.hxx.


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