reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
WsBaseTransport.hxx
Go to the documentation of this file.
1
#if !defined(RESIP_WSBASETRANSPORT_HXX)
2
#define RESIP_WSBASETRANSPORT_HXX
3
4
#include "
resip/stack/WsConnectionValidator.hxx
"
5
#include "
resip/stack/WsCookieContextFactory.hxx
"
6
7
#include <memory>
8
9
namespace
resip
10
{
11
12
class
WsBaseTransport
13
{
14
public
:
15
RESIP_HeapCount
(
WsBaseTransport
);
16
explicit
WsBaseTransport
(std::shared_ptr<WsConnectionValidator> =
nullptr
, std::shared_ptr<WsCookieContextFactory> = std::make_shared<BasicWsCookieContextFactory>());
17
WsBaseTransport
(
const
WsBaseTransport
&) =
delete
;
18
WsBaseTransport
(
WsBaseTransport
&&) =
delete
;
19
virtual
~WsBaseTransport
() =
default
;
20
21
WsBaseTransport
&
operator=
(
const
WsBaseTransport
&) =
delete
;
22
WsBaseTransport
&
operator=
(
WsBaseTransport
&&) =
delete
;
23
24
std::shared_ptr<WsCookieContextFactory>
cookieContextFactory
() const noexcept {
return
mCookieContextFactory
; };
25
26
protected
:
27
std::shared_ptr<WsConnectionValidator>
mConnectionValidator
;
28
std::shared_ptr<WsCookieContextFactory>
mCookieContextFactory
;
29
};
30
31
}
32
33
34
#endif
35
36
/* ====================================================================
37
*
38
* Copyright 2013 Daniel Pocock. All rights reserved.
39
*
40
* Redistribution and use in source and binary forms, with or without
41
* modification, are permitted provided that the following conditions
42
* are met:
43
*
44
* 1. Redistributions of source code must retain the above copyright
45
* notice, this list of conditions and the following disclaimer.
46
*
47
* 2. Redistributions in binary form must reproduce the above copyright
48
* notice, this list of conditions and the following disclaimer in
49
* the documentation and/or other materials provided with the
50
* distribution.
51
*
52
* 3. Neither the name of the author(s) nor the names of any contributors
53
* may be used to endorse or promote products derived from this software
54
* without specific prior written permission.
55
*
56
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
57
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
58
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
59
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
60
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
61
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
62
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
63
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
64
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
65
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
66
* SUCH DAMAGE.
67
*
68
* ====================================================================
69
*
70
*
71
*/
72
WsConnectionValidator.hxx
WsCookieContextFactory.hxx
resip::WsBaseTransport
Definition
WsBaseTransport.hxx:13
resip::WsBaseTransport::mConnectionValidator
std::shared_ptr< WsConnectionValidator > mConnectionValidator
Definition
WsBaseTransport.hxx:27
resip::WsBaseTransport::operator=
WsBaseTransport & operator=(const WsBaseTransport &)=delete
resip::WsBaseTransport::mCookieContextFactory
std::shared_ptr< WsCookieContextFactory > mCookieContextFactory
Definition
WsBaseTransport.hxx:28
resip::WsBaseTransport::~WsBaseTransport
virtual ~WsBaseTransport()=default
resip::WsBaseTransport::RESIP_HeapCount
RESIP_HeapCount(WsBaseTransport)
resip::WsBaseTransport::WsBaseTransport
WsBaseTransport(const WsBaseTransport &)=delete
resip::WsBaseTransport::cookieContextFactory
std::shared_ptr< WsCookieContextFactory > cookieContextFactory() const noexcept
Definition
WsBaseTransport.hxx:24
resip::WsBaseTransport::operator=
WsBaseTransport & operator=(WsBaseTransport &&)=delete
resip::WsBaseTransport::WsBaseTransport
WsBaseTransport(WsBaseTransport &&)=delete
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip
stack
WsBaseTransport.hxx
Generated by
1.9.8