reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
RemoteIMSessionParticipantDialogSet.cxx
Go to the documentation of this file.
1#ifdef HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5// sipX includes
6#if (_MSC_VER >= 1600)
7#include <stdint.h> // Use Visual Studio's stdint.h
8#define _MSC_STDINT_H_ // This define will ensure that stdint.h in sipXport tree is not used
9#endif
10
12#include "ReconSubsystem.hxx"
15#include "Conversation.hxx"
16#include "UserAgent.hxx"
17
18#include <rutil/Log.hxx>
19#include <rutil/Logger.hxx>
20
22
23#include <utility>
24
25using namespace recon;
26using namespace resip;
27using namespace std;
28
29#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
30
33 std::shared_ptr<ConversationProfile> conversationProfile) :
34 RemoteParticipantDialogSet(conversationManager, forkSelectMode, conversationProfile),
35 mConversationManager(conversationManager)
36{
37
38 InfoLog(<< "RemoteIMSessionParticipantDialogSet created.");
39}
40
42{
43 InfoLog(<< "RemoteIMSessionParticipantDialogSet destroyed. mActiveRemoteParticipantHandle=" << getActiveRemoteParticipantHandle());
44}
45
46
47/* ====================================================================
48
49 Copyright (c) 2022, SIP Spectrum, Inc. http://www.sipspectrum.com
50 All rights reserved.
51
52 Redistribution and use in source and binary forms, with or without
53 modification, are permitted provided that the following conditions are
54 met:
55
56 1. Redistributions of source code must retain the above copyright
57 notice, this list of conditions and the following disclaimer.
58
59 2. Redistributions in binary form must reproduce the above copyright
60 notice, this list of conditions and the following disclaimer in the
61 documentation and/or other materials provided with the distribution.
62
63 3. Neither the name of Plantronics nor the names of its contributors
64 may be used to endorse or promote products derived from this
65 software without specific prior written permission.
66
67 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
68 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
69 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
70 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
71 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
72 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
73 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
74 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
75 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
76 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
77 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78
79 ==================================================================== */
#define InfoLog(args_)
Definition Logger.hxx:131
This class is one of two main classes of concern to an application using the UserAgent library.
RemoteIMSessionParticipantDialogSet(ConversationManager &conversationManager, ConversationManager::ParticipantForkSelectMode forkSelectMode=ConversationManager::ForkSelectAutomatic, std::shared_ptr< ConversationProfile > conversationProfile=nullptr)
This class is used by Invite DialogSets.
virtual ParticipantHandle getActiveRemoteParticipantHandle()
dcm! – add UnusedChecking(_enum) below;