reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
WsCookieContext.hxx
Go to the documentation of this file.
1
#ifndef RESIP_WsCookieContext_hxx
2
#define RESIP_WsCookieContext_hxx
3
4
#include "
Cookie.hxx
"
5
#include "
rutil/Data.hxx
"
6
#include "
Uri.hxx
"
7
8
#define RESIP_WS_COOKIE_CONTEXT_VERSION 1
9
10
namespace
resip
11
{
12
13
class
WsCookieContext
14
{
15
public
:
16
WsCookieContext
();
17
WsCookieContext
(
const
CookieList
& cookieList,
const
Data
& infoCookieName,
const
Data
& extraCookieName,
const
Data
& macCookieName,
const
Uri
& requestUri);
18
WsCookieContext
(
const
WsCookieContext
& rhs);
19
~WsCookieContext
();
20
21
WsCookieContext
&
operator=
(
const
WsCookieContext
& rhs);
22
23
Data
getWsSessionInfo
()
const
{
return
mWsSessionInfo; };
24
Data
getWsSessionExtra
()
const
{
return
mWsSessionExtra; };
25
Data
getWsSessionMAC
()
const
{
return
mWsSessionMAC; };
26
Uri
getWsFromUri
()
const
{
return
mWsFromUri; };
27
Uri
getWsDestUri
()
const
{
return
mWsDestUri; };
28
time_t
getExpiresTime
()
const
{
return
mExpiresTime; };
29
30
private
:
31
Data
mWsSessionInfo;
32
Data
mWsSessionExtra;
33
Data
mWsSessionMAC;
34
Uri
mWsFromUri;
35
Uri
mWsDestUri;
36
time_t mExpiresTime;
37
};
38
39
}
40
41
#endif
42
43
/* ====================================================================
44
* BSD License
45
*
46
* Copyright (c) 2013 Catalin Constantin Usurelu All rights reserved.
47
*
48
* Redistribution and use in source and binary forms, with or without
49
* modification, are permitted provided that the following conditions
50
* are met:
51
*
52
* 1. Redistributions of source code must retain the above copyright
53
* notice, this list of conditions and the following disclaimer.
54
*
55
* 2. Redistributions in binary form must reproduce the above copyright
56
* notice, this list of conditions and the following disclaimer in
57
* the documentation and/or other materials provided with the
58
* distribution.
59
*
60
* 3. Neither the name of the author(s) nor the names of any contributors
61
* may be used to endorse or promote products derived from this software
62
* without specific prior written permission.
63
*
64
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
65
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
66
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
67
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
68
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
69
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
70
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
71
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
72
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
73
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
74
* SUCH DAMAGE.
75
*
76
* ====================================================================
77
*
78
*/
Cookie.hxx
Data.hxx
Uri.hxx
resip::Data
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition
Data.hxx:90
resip::Uri
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
Definition
Uri.hxx:22
resip::WsCookieContext
Definition
WsCookieContext.hxx:14
resip::WsCookieContext::~WsCookieContext
~WsCookieContext()
Definition
WsCookieContext.cxx:119
resip::WsCookieContext::getWsDestUri
Uri getWsDestUri() const
Definition
WsCookieContext.hxx:27
resip::WsCookieContext::getWsSessionExtra
Data getWsSessionExtra() const
Definition
WsCookieContext.hxx:24
resip::WsCookieContext::WsCookieContext
WsCookieContext()
Definition
WsCookieContext.cxx:11
resip::WsCookieContext::getWsSessionMAC
Data getWsSessionMAC() const
Definition
WsCookieContext.hxx:25
resip::WsCookieContext::operator=
WsCookieContext & operator=(const WsCookieContext &rhs)
Definition
WsCookieContext.cxx:26
resip::WsCookieContext::getExpiresTime
time_t getExpiresTime() const
Definition
WsCookieContext.hxx:28
resip::WsCookieContext::getWsFromUri
Uri getWsFromUri() const
Definition
WsCookieContext.hxx:26
resip::WsCookieContext::getWsSessionInfo
Data getWsSessionInfo() const
Definition
WsCookieContext.hxx:23
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip::CookieList
std::vector< Cookie > CookieList
Definition
Cookie.hxx:35
resip
stack
WsCookieContext.hxx
Generated by
1.9.8