reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
LocalParticipant.cxx
Go to the documentation of this file.
1#include "BridgeMixer.hxx"
3#include "Conversation.hxx"
4#include "UserAgent.hxx"
5#include "ReconSubsystem.hxx"
7
8#include <rutil/Log.hxx>
9#include <rutil/Logger.hxx>
10
11using namespace recon;
12using namespace resip;
13using namespace std;
14
15#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
16
18 ConversationManager& conversationManager)
19: Participant(partHandle, ConversationManager::ParticipantType_Local, conversationManager)
20{
21 InfoLog(<< "LocalParticipant created, handle=" << mHandle);
22}
23
25{
26 InfoLog(<< "LocalParticipant destroyed, handle=" << mHandle);
27}
28
29void
31{
32 delete this;
33}
34
35
36/* ====================================================================
37
38 Copyright (c) 2021, Daniel Pocock https://danielpocock.com
39 Copyright (c) 2007-2008, Plantronics, Inc.
40 All rights reserved.
41
42 Redistribution and use in source and binary forms, with or without
43 modification, are permitted provided that the following conditions are
44 met:
45
46 1. Redistributions of source code must retain the above copyright
47 notice, this list of conditions and the following disclaimer.
48
49 2. Redistributions in binary form must reproduce the above copyright
50 notice, this list of conditions and the following disclaimer in the
51 documentation and/or other materials provided with the distribution.
52
53 3. Neither the name of Plantronics nor the names of its contributors
54 may be used to endorse or promote products derived from this
55 software without specific prior written permission.
56
57 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
58 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
59 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
60 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
61 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
62 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
63 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
64 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
65 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
66 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
67 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
68
69 ==================================================================== */
#define InfoLog(args_)
Definition Logger.hxx:131
This class is one of two main classes of concern to an application using the UserAgent library.
LocalParticipant(ParticipantHandle partHandle, ConversationManager &conversationManager)
virtual void destroyParticipant()
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
ParticipantHandle mHandle
unsigned int ParticipantHandle
dcm! – add UnusedChecking(_enum) below;