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