reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
SipXConversation.hxx
Go to the documentation of this file.
1#if !defined(SipXConversation_hxx)
2#define SipXConversation_hxx
3
4#include "Conversation.hxx"
8
9namespace recon
10{
11class Participant;
12class LocalParticipant;
13class RemoteParticipant;
14class RelatedConversationSet;
15class BridgeMixer;
16
34{
35public:
39 RelatedConversationSet* relatedConversationSet, // Pass NULL to create new RelatedConversationSet
42 virtual ~SipXConversation();
43
44protected:
45 friend class Participant;
46 friend class SipXParticipant;
47 friend class LocalParticipant;
49 friend class RemoteParticipant;
53
54 friend class BridgeMixer;
55 friend class SipXBridgeMixer;
56
57 friend class AddParticipantCmd;
58 friend class JoinConversationCmd;
59 friend class MoveParticipantCmd;
60 std::shared_ptr<SipXMediaInterface> getMediaInterface() const { resip_assert(mMediaInterface); return mMediaInterface; }
61
64
65private:
66 SipXMediaStackAdapter& mSipXMediaStackAdapter;
67
68 // sipX Media related members
69 friend class ConversationManager;
71 // Note: these are only set here if sipXConversationMediaInterfaceMode is used
72 std::shared_ptr<SipXMediaInterface> mMediaInterface;
73};
74
75}
76
77#endif
78
79
80/* ====================================================================
81
82 Copyright (c) 2021, SIP Spectrum, Inc.
83 Copyright (c) 2021, Daniel Pocock https://danielpocock.com
84 Copyright (c) 2007-2008, Plantronics, Inc.
85 All rights reserved.
86
87 Redistribution and use in source and binary forms, with or without
88 modification, are permitted provided that the following conditions are
89 met:
90
91 1. Redistributions of source code must retain the above copyright
92 notice, this list of conditions and the following disclaimer.
93
94 2. Redistributions in binary form must reproduce the above copyright
95 notice, this list of conditions and the following disclaimer in the
96 documentation and/or other materials provided with the distribution.
97
98 3. Neither the name of Plantronics nor the names of its contributors
99 may be used to endorse or promote products derived from this
100 software without specific prior written permission.
101
102 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
103 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
104 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
105 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
106 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
107 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
108 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
109 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
110 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
111 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
112 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
113
114 ==================================================================== */
#define resip_assert(x)
This file needs to work for both C and C++ code.
This class is used to control the sipX Bridge Mixer mix matrix.
This class is one of two main classes of concern to an application using the UserAgent library.
This class is used to manage membership of participants.
This class represents a local participant.
This class represents a media resource participant.
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
This is used to keep a mapping between all related conversations.
This class represent a remote participant.
This class is used to control the sipX Bridge Mixer mix matrix.
This class is used to manage membership of participants.
virtual void onParticipantRemoved(Participant *participant)
std::shared_ptr< SipXMediaInterface > getMediaInterface() const
virtual void onParticipantAdded(Participant *participant)
This class represents a local participant.
This class represents a media resource participant.
This class is one of two main classes of concern to an application using the UserAgent library.
This is the base class for a SipXRemoteParticipant, SipXLocalParticipant and a SipXMediaResourceParti...
This class represent a remote participant.
unsigned int ConversationHandle
void list()
Definition userAdmin.cxx:66