reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
StunAuth.cxx
Go to the documentation of this file.
1
#include "
StunAuth.hxx
"
2
3
using namespace
std;
4
using namespace
resip
;
5
6
namespace
reTurn
{
7
8
StunAuth::StunAuth
(
const
Data
& clientUsername,
9
const
Data
& clientSharedSecret) :
10
mClientUsername(clientUsername),
11
mClientSharedSecret(clientSharedSecret)
12
{
13
}
14
15
}
// namespace
16
17
18
/* ====================================================================
19
20
Copyright (c) 2007-2008, Plantronics, Inc.
21
All rights reserved.
22
23
Redistribution and use in source and binary forms, with or without
24
modification, are permitted provided that the following conditions are
25
met:
26
27
1. Redistributions of source code must retain the above copyright
28
notice, this list of conditions and the following disclaimer.
29
30
2. Redistributions in binary form must reproduce the above copyright
31
notice, this list of conditions and the following disclaimer in the
32
documentation and/or other materials provided with the distribution.
33
34
3. Neither the name of Plantronics nor the names of its contributors
35
may be used to endorse or promote products derived from this
36
software without specific prior written permission.
37
38
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
41
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
42
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
43
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
44
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
45
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
46
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
47
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
48
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49
50
==================================================================== */
StunAuth.hxx
reTurn::StunAuth::StunAuth
StunAuth(const resip::Data &clientUsername, const resip::Data &clientSharedSecret)
Definition
StunAuth.cxx:8
resip::Data
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition
Data.hxx:90
reTurn
Definition
AsyncSocketBase.cxx:16
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
reTurn
StunAuth.cxx
Generated by
1.9.8