gloox
1.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
connectiontlsserver.cpp
1
/*
2
* Copyright (c) 2009-2012 by Jakob Schroeter <js@camaya.net>
3
* This file is part of the gloox library. http://camaya.net/gloox
4
*
5
* This software is distributed under a license. The full license
6
* agreement can be found in the file LICENSE in this distribution.
7
* This software may not be copied, modified, sold or distributed
8
* other than expressed in the named license agreement.
9
*
10
* This software is distributed without any warranty.
11
*/
12
13
#include "connectiontlsserver.h"
14
15
namespace
gloox
16
{
17
18
ConnectionTLSServer::ConnectionTLSServer
(
ConnectionDataHandler
* cdh,
ConnectionBase
* conn,
19
const
LogSink
& log )
20
:
ConnectionTLS
( cdh, conn, log )
21
{
22
}
23
24
ConnectionTLSServer::ConnectionTLSServer
(
ConnectionBase
* conn,
const
LogSink
& log )
25
:
ConnectionTLS
( conn, log )
26
{
27
}
28
29
ConnectionTLSServer::~ConnectionTLSServer
()
30
{
31
}
32
33
TLSBase
*
ConnectionTLSServer::getTLSBase
(
TLSHandler
* th,
const
std::string server )
34
{
35
return
new
TLSDefault
( th, server,
TLSDefault::VerifyingServer
);
36
}
37
38
ConnectionBase
*
ConnectionTLSServer::newInstance
()
const
39
{
40
ConnectionBase
* newConn = 0;
41
if
( m_connection )
42
newConn = m_connection->
newInstance
();
43
return
new
ConnectionTLSServer
(
m_handler
, newConn, m_log );
44
}
45
46
}
Generated on Sun Jun 30 2013 14:37:36 for gloox by
1.8.1.2